Add newline after error info in LemmyError Display impl

asonix/better-errors
Aode (lion) 2021-11-24 17:56:54 -06:00
parent 8d7ad98328
commit 8aa0041b3d
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ impl std::fmt::Debug for LemmyError {
impl Display for LemmyError { impl Display for LemmyError {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
self.inner.fmt(f)?; writeln!(f, "{}", self.inner)?;
self.context.fmt(f) self.context.fmt(f)
} }
} }