Merge pull request #1308 from matthiasbeyer/libimagerror/fix-trace-width
Fix trace count space width
This commit is contained in:
commit
9b852948f8
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue