aboutsummaryrefslogtreecommitdiff
path: root/src/http/error.rs
diff options
context:
space:
mode:
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 {