aboutsummaryrefslogtreecommitdiff
path: root/src/http/error.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-07-27 06:42:48 +0200
committeracdenisSK <[email protected]>2017-07-27 07:30:23 +0200
commit550030264952f0e0043b63f4582bb817ef8bbf37 (patch)
treeb921e2f78fd603a5ca671623083a32806fd16090 /src/http/error.rs
parentUse a consistent indentation style (diff)
downloadserenity-550030264952f0e0043b63f4582bb817ef8bbf37.tar.xz
serenity-550030264952f0e0043b63f4582bb817ef8bbf37.zip
rustfmt
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 8e68c44..6e51358 100644
--- a/src/http/error.rs
+++ b/src/http/error.rs
@@ -18,9 +18,7 @@ pub enum Error {
}
impl Display for Error {
- fn fmt(&self, f: &mut Formatter) -> FmtResult {
- f.write_str(self.description())
- }
+ fn fmt(&self, f: &mut Formatter) -> FmtResult { f.write_str(self.description()) }
}
impl StdError for Error {