Use rustfmt to enforce consistent formatting
This change adds a .rustfmt.toml that includes ALL supported settings, 12 of which we have overridden to attempt to cater to our own proclivities. rustfmt is checked in the rust-nightly CI job.
This commit is contained in:
		| @@ -17,13 +17,11 @@ fn read_preface_in_multiple_frames() { | ||||
|         .read(SETTINGS_ACK) | ||||
|         .build(); | ||||
|  | ||||
|     let h2 = Server::handshake(mock) | ||||
|         .wait().unwrap(); | ||||
|     let h2 = Server::handshake(mock).wait().unwrap(); | ||||
|  | ||||
|     assert!(Stream::wait(h2).next().is_none()); | ||||
| } | ||||
|  | ||||
| #[test] | ||||
| #[ignore] | ||||
| fn accept_with_pending_connections_after_socket_close() { | ||||
| } | ||||
| fn accept_with_pending_connections_after_socket_close() {} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user