diff --git a/src/rust/iced-x86/src/encoder/op_code.rs b/src/rust/iced-x86/src/encoder/op_code.rs index 6737bdb1f..9877b67ea 100644 --- a/src/rust/iced-x86/src/encoder/op_code.rs +++ b/src/rust/iced-x86/src/encoder/op_code.rs @@ -77,7 +77,7 @@ pub struct OpCodeInfo { group_index: i8, rm_group_index: i8, op_kinds: [OpCodeOperandKind; IcedConstants::MAX_OP_COUNT], - #[cfg(feature = "instr_info")] + #[cfg(feature = "instr_info")] op_accesses: [OpAccess; IcedConstants::MAX_OP_COUNT], } @@ -360,7 +360,7 @@ impl OpCodeInfo { group_index, rm_group_index, op_kinds: [op0_kind, op1_kind, op2_kind, op3_kind, op4_kind], - #[cfg(feature = "instr_info")] + #[cfg(feature = "instr_info")] op_accesses: [code.op0_access(), code.op1_access(), code.op2_access(), code.op3_access(), code.op4_access()], }; @@ -1498,7 +1498,6 @@ impl OpCodeInfo { } } - impl fmt::Display for OpCodeInfo { #[inline] fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {