diff options
author | iximeow <me@iximeow.net> | 2019-07-20 10:55:43 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-12 16:10:13 -0800 |
commit | 7b233f8382aa36e1f8c45d5d0827ccbc028a6357 (patch) | |
tree | 23a3f758fe81a371d09dae594d6b35c32347a12b | |
parent | 396473ebd282826459e5e589a2feae9100a4ae3d (diff) |
remove unused operand variant
-rw-r--r-- | src/display.rs | 2 | ||||
-rw-r--r-- | src/lib.rs | 4 |
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"); } } } } @@ -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 } |