From b20147079dec8cdfcd70d23edccf1e1d08ecb962 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 3 Jul 2021 13:42:04 -0700 Subject: document some of the weird decisions in read_instr --- src/long_mode/mod.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 04ad91b..b75f354 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -762,7 +762,7 @@ impl Operand { /// return the width of this operand, in bytes. register widths are determined by the /// register's class. the widths of memory operands are recorded on the instruction this - /// `Operand` came from; `None` here mans the authoritative width is `instr.mem_size()`. + /// `Operand` came from; `None` here means the authoritative width is `instr.mem_size()`. pub fn width(&self) -> Option { match self { Operand::Register(reg) => { @@ -6998,13 +6998,12 @@ fn read_instr::Address,