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/display.rs | |
parent | bb2870e56d6c9a0a7b96be8287193a753e3a4391 (diff) |
update crate to rust 2018
Diffstat (limited to 'src/real_mode/display.rs')
-rw-r--r-- | src/real_mode/display.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/real_mode/display.rs b/src/real_mode/display.rs index 9d95020..9ba8284 100644 --- a/src/real_mode/display.rs +++ b/src/real_mode/display.rs @@ -1,12 +1,9 @@ -extern crate yaxpeax_arch; - -use MEM_SIZE_STRINGS; - use core::fmt; use yaxpeax_arch::{Colorize, ShowContextual, NoColors, YaxColors}; use yaxpeax_arch::display::*; +use crate::MEM_SIZE_STRINGS; use crate::real_mode::{RegSpec, Opcode, Operand, MergeMode, InstDecoder, Instruction, Segment, PrefixVex, OperandSpec}; impl fmt::Display for InstDecoder { |