aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/display.rs2
-rw-r--r--src/lib.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/display.rs b/src/display.rs
index 9d4bc9f..a3cd643 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -175,7 +175,7 @@ impl <T: std::fmt::Write> Colorize<T> for Operand {
)
},
&Operand::Nothing => { Ok(()) },
- &Operand::Many(_) => { panic!("many not covered"); }
+ // &Operand::Many(_) => { panic!("many not covered"); }
}
}
}
diff --git a/src/lib.rs b/src/lib.rs
index 97c679d..24f4299 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -175,7 +175,7 @@ pub enum Operand {
RegScaleDisp(RegSpec, u8, i32),
RegIndexBaseScale(RegSpec, RegSpec, u8),
RegIndexBaseScaleDisp(RegSpec, RegSpec, u8, i32),
- Many(Vec<Operand>),
+ // Many(Vec<Operand>),
Nothing
}
@@ -203,7 +203,7 @@ impl Operand {
Operand::ImmediateU64(_) |
Operand::ImmediateI64(_) |
Operand::Register(_) |
- Operand::Many(_) |
+ //Operand::Many(_) |
Operand::Nothing => {
false
}