mirror of https://github.com/LemmyNet/lemmy.git
Add newline after error info in LemmyError Display impl
parent
8d7ad98328
commit
8aa0041b3d
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue