simplify binding in trace formatting
This commit is contained in:
parent
c079fc3153
commit
7b0626b05f
@ -21,7 +21,7 @@ impl Trace {
|
|||||||
Trace::Parallel(a, b) => {
|
Trace::Parallel(a, b) => {
|
||||||
f.write_fmt(format_args!("{} | {}", ParallelBox(a), ParallelBox(b)))
|
f.write_fmt(format_args!("{} | {}", ParallelBox(a), ParallelBox(b)))
|
||||||
}
|
}
|
||||||
trace @ _ => f.write_fmt(format_args!("{}", trace)),
|
trace => f.write_fmt(format_args!("{}", trace)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ impl Trace {
|
|||||||
SequentialBox(first),
|
SequentialBox(first),
|
||||||
SequentialBox(second)
|
SequentialBox(second)
|
||||||
)),
|
)),
|
||||||
trace @ _ => f.write_fmt(format_args!("{}", trace)),
|
trace => f.write_fmt(format_args!("{}", trace)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user