aboutsummaryrefslogtreecommitdiff
path: root/src/real_mode/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/real_mode/mod.rs')
-rw-r--r--src/real_mode/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs
index bfcb79f..e752ee0 100644
--- a/src/real_mode/mod.rs
+++ b/src/real_mode/mod.rs
@@ -4,7 +4,7 @@ mod evex;
mod display;
pub mod uarch;
-pub use MemoryAccessSize;
+pub use crate::MemoryAccessSize;
#[cfg(feature = "fmt")]
pub use self::display::DisplayStyle;
@@ -918,7 +918,6 @@ const REGISTER_CLASS_NAMES: &[&'static str] = &[
/// and so on. constants in this module are useful for inspecting the register class of a decoded
/// instruction. as an example:
/// ```
-/// extern crate yaxpeax_arch;
/// use yaxpeax_x86::real_mode::{self as amd64};
/// use yaxpeax_x86::real_mode::{Opcode, Operand, RegisterClass};
/// use yaxpeax_arch::{Decoder, U8Reader};