diff --git a/actix-http/src/error.rs b/actix-http/src/error.rs index cd9613d21..0a778d266 100644 --- a/actix-http/src/error.rs +++ b/actix-http/src/error.rs @@ -108,7 +108,7 @@ impl fmt::Display for Error { impl fmt::Debug for Error { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - writeln!(f, "{:?}", &self.cause) + write!(f, "{:?}", &self.cause) } }