From 0a746eb214f219989e6a0f189a35e7bec1242fbe Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 4 Jul 2021 15:26:47 -0700 Subject: update crate to rust 2018 --- src/real_mode/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/real_mode/mod.rs') 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}; -- cgit v1.1