aboutsummaryrefslogtreecommitdiff
path: root/src/real_mode/display.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/real_mode/display.rs
parentbb2870e56d6c9a0a7b96be8287193a753e3a4391 (diff)
update crate to rust 2018
Diffstat (limited to 'src/real_mode/display.rs')
-rw-r--r--src/real_mode/display.rs5
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 {