Skip to content

Commit

Permalink
Improve access field doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tmfink committed Aug 25, 2024
1 parent 80ffbfa commit aa92eb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions capstone-rs/src/arch/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ pub struct ArmOperand {
/// Operand type
pub op_type: ArmOperandType,

/// How is this operand accessed? NOTE: this field is irrelevant if engine
/// is compiled in DIET mode.
/// How is this operand accessed?
///
/// NOTE: this field is always `None` if the "full" feataure is not enabled.
pub access: Option<RegAccessType>
}

Expand Down
5 changes: 3 additions & 2 deletions capstone-rs/src/arch/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ pub struct X86Operand {
/// Operand size
pub size: u8,

/// How is this operand accessed? NOTE: this field is irrelevant if engine
/// is compiled in DIET mode.
/// How is this operand accessed?
///
/// NOTE: this field is always `None` if the "full" feataure is not enabled.
pub access: Option<RegAccessType>,

/// AVX broadcast
Expand Down

0 comments on commit aa92eb6

Please sign in to comment.