diff --git a/actix-http/src/error.rs b/actix-http/src/error.rs index ec6039170..8ec21c004 100644 --- a/actix-http/src/error.rs +++ b/actix-http/src/error.rs @@ -109,7 +109,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) } }