aboutsummaryrefslogtreecommitdiff
path: root/src/http/error.rs
diff options
context:
space:
mode:
authorMishio595 <[email protected]>2018-11-13 22:23:39 -0700
committerMishio595 <[email protected]>2018-11-13 22:23:39 -0700
commit1dad6996d8e9c983dc9e1689a93dbef5b0696c22 (patch)
tree1ee7226178cae76b20e6adcdc7e7cfcc3c477c32 /src/http/error.rs
parentFinish rebase (diff)
parentMake `Region`s `Japan`-variant lowercase. (diff)
downloadserenity-1dad6996d8e9c983dc9e1689a93dbef5b0696c22.tar.xz
serenity-1dad6996d8e9c983dc9e1689a93dbef5b0696c22.zip
Merge branch 'upstream'
Diffstat (limited to 'src/http/error.rs')
-rw-r--r--src/http/error.rs4
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",
}