diff options
author | iximeow <me@iximeow.net> | 2021-07-04 15:26:47 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-07-04 15:26:47 -0700 |
commit | 0a746eb214f219989e6a0f189a35e7bec1242fbe (patch) | |
tree | 6b3acdc4c36004404c7da03e2fa0c8bf7d6e70bb /src/real_mode/mod.rs | |
parent | bb2870e56d6c9a0a7b96be8287193a753e3a4391 (diff) |
update crate to rust 2018
Diffstat (limited to 'src/real_mode/mod.rs')
-rw-r--r-- | src/real_mode/mod.rs | 3 |
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}; |