diff options
| author | Mariell <[email protected]> | 2018-09-23 01:27:58 +0200 |
|---|---|---|
| committer | Lakelezz <[email protected]> | 2018-09-23 01:27:58 +0200 |
| commit | ccfa7fdc750f567f713e01e6f8e8ccfd0cdec2fb (patch) | |
| tree | eb0a8f24f65f08be57cfaf7e4b2b2cee884e798b /src | |
| parent | Generalise mention parsing (diff) | |
| download | serenity-ccfa7fdc750f567f713e01e6f8e8ccfd0cdec2fb.tar.xz serenity-ccfa7fdc750f567f713e01e6f8e8ccfd0cdec2fb.zip | |
Remove inconsistent braces (#397)
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/error.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/http/error.rs b/src/http/error.rs index b433cb5..76a1d4f 100644 --- a/src/http/error.rs +++ b/src/http/error.rs @@ -27,9 +27,7 @@ impl Display for Error { impl StdError for Error { fn description(&self) -> &str { match *self { - Error::UnsuccessfulRequest(_) => { - "A non-successful response status code was received" - }, + Error::UnsuccessfulRequest(_) => "A non-successful response status code was received", Error::RateLimitI64 => "Error decoding a header into an i64", Error::RateLimitUtf8 => "Error decoding a header from UTF-8", } |