From 732fc32b753052361259792572048fb4b78255b5 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 20 Feb 2018 20:15:36 +0100 Subject: [PATCH] Fix trace count space width Was five here, but should be four. --- lib/core/libimagerror/src/trace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/libimagerror/src/trace.rs b/lib/core/libimagerror/src/trace.rs index 11e3ea22..160fe340 100644 --- a/lib/core/libimagerror/src/trace.rs +++ b/lib/core/libimagerror/src/trace.rs @@ -36,7 +36,7 @@ impl<'a, T> Display for ImagTrace<'a, T> where T: ChainedError { fn fmt(&self, fmt: &mut Formatter) -> FmtResult { - try!(writeln!(fmt, "{}: {}", Red.blink().paint("ERROR[ 0]"), self.0)); + try!(writeln!(fmt, "{}: {}", Red.blink().paint("ERROR[ 0]"), self.0)); for (i, e) in self.0.iter().enumerate().skip(1) { try!(writeln!(fmt, "{}: {}", Red.blink().paint(format!("ERROR[{:>4}]", i)), e));