Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
susitsm authored and Matyas Susits committed Sep 21, 2024
1 parent c1d5e8d commit 0ff8ffd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/rust/iced-x86/src/encoder/op_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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],
}

Expand Down Expand Up @@ -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()],
};

Expand Down Expand Up @@ -1498,7 +1498,6 @@ impl OpCodeInfo {
}
}


impl fmt::Display for OpCodeInfo {
#[inline]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Expand Down

0 comments on commit 0ff8ffd

Please sign in to comment.