From ccfa7fdc750f567f713e01e6f8e8ccfd0cdec2fb Mon Sep 17 00:00:00 2001 From: Mariell Date: Sun, 23 Sep 2018 01:27:58 +0200 Subject: Remove inconsistent braces (#397) --- src/http/error.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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", } -- cgit v1.2.3