simplify binding in trace formatting

This commit is contained in:
AF 2023-04-23 16:43:13 +00:00
parent c079fc3153
commit 7b0626b05f

View File

@ -21,7 +21,7 @@ impl Trace {
Trace::Parallel(a, 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(second)
)),
trace @ _ => f.write_fmt(format_args!("{}", trace)),
trace => f.write_fmt(format_args!("{}", trace)),
}
}
}