diff options
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/display.rs b/src/display.rs index 7d8c1b5..2a1dcc2 100644 --- a/src/display.rs +++ b/src/display.rs @@ -176,6 +176,12 @@ impl <T: std::fmt::Write> Colorize<T> for Operand { }, &Operand::Nothing => { Ok(()) }, // &Operand::Many(_) => { panic!("many not covered"); } + &Operand::Many(ref ops) => { + for op in ops.iter() { + write!(f, ", {}", op)?; + } + Ok(()) + } } } } |