aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs6
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(())
+ }
}
}
}