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/long_mode/display.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/long_mode/display.rs') diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs index fb179cc..68189f0 100644 --- a/src/long_mode/display.rs +++ b/src/long_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::long_mode::{RegSpec, Opcode, Operand, MergeMode, InstDecoder, Instruction, Segment, PrefixRex, OperandSpec}; impl fmt::Display for InstDecoder { -- cgit v1.1