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:
@@ -37,7 +37,10 @@ impl Reason {
|
||||
RefusedStream => "refused stream before processing any application logic",
|
||||
Cancel => "stream no longer needed",
|
||||
CompressionError => "unable to maintain the header compression context",
|
||||
ConnectError => "connection established in response to a CONNECT request was reset or abnormally closed",
|
||||
ConnectError => {
|
||||
"connection established in response to a CONNECT request \
|
||||
was reset or abnormally closed"
|
||||
}
|
||||
EnhanceYourCalm => "detected excessive load generating behavior",
|
||||
InadequateSecurity => "security properties do not meet minimum requirements",
|
||||
Http11Required => "endpoint requires HTTP/1.1",
|
||||
|
||||
Reference in New Issue
Block a user