aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-07-04 15:26:47 -0700
committeriximeow <me@iximeow.net>2021-07-04 15:26:47 -0700
commit0a746eb214f219989e6a0f189a35e7bec1242fbe (patch)
tree6b3acdc4c36004404c7da03e2fa0c8bf7d6e70bb /src/long_mode/mod.rs
parentbb2870e56d6c9a0a7b96be8287193a753e3a4391 (diff)
update crate to rust 2018
Diffstat (limited to 'src/long_mode/mod.rs')
-rw-r--r--src/long_mode/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 6e3e21d..be7cedd 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_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;
@@ -964,7 +964,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::long_mode::{self as amd64};
/// use yaxpeax_x86::long_mode::{Opcode, Operand, RegisterClass};
/// use yaxpeax_arch::{Decoder, U8Reader};