Separate errors in an error stack better

This commit is contained in:
Anthony Ramine 2021-03-04 12:18:48 +01:00
parent ed3279c4f1
commit 8274492b95
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ impl fmt::Display for ErrorStack {
let mut first = true; let mut first = true;
for err in &self.0 { for err in &self.0 {
if !first { if !first {
fmt.write_str(", ")?; fmt.write_str("\n--\n")?;
} }
write!(fmt, "{}", err)?; write!(fmt, "{}", err)?;
first = false; first = false;