diff options
| -rw-r--r-- | src/lib.rs | 10 | 
1 files changed, 1 insertions, 9 deletions
| @@ -1266,7 +1266,7 @@ impl fmt::Display for Instruction {          Ok(())      }  } -#[derive(Debug, PartialEq, Eq)] +#[derive(Debug, Default, PartialEq, Eq)]  pub struct InstructionBundle {      bundle_tag: u8,      instructions: [Instruction; 3], @@ -1357,14 +1357,6 @@ impl yaxpeax_arch::Instruction for InstructionBundle {          true      }  } -impl Default for InstructionBundle { -    fn default() -> Self { -        InstructionBundle { -            bundle_tag: 0, -            instructions: Default::default(), -        } -    } -}  impl fmt::Display for InstructionBundle {      fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {          let (stops, types) = if let Some((types, stops)) = BUNDLE_TAGS[self.bundle_tag as usize] { | 
