From f70232d2bc7703eb062820be8896daf06d94d032 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 23 Jun 2024 13:15:50 -0700 Subject: normalize imports, pull safer_unchecked from yaxpeax-arch --- src/real_mode/display.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/real_mode') diff --git a/src/real_mode/display.rs b/src/real_mode/display.rs index b06e3d2..3e3f524 100644 --- a/src/real_mode/display.rs +++ b/src/real_mode/display.rs @@ -1,12 +1,13 @@ use core::fmt; use yaxpeax_arch::{Colorize, ShowContextual, NoColors, YaxColors}; -use yaxpeax_arch::display::*; -use crate::safer_unchecked::GetSaferUnchecked as _; use crate::MEM_SIZE_STRINGS; use crate::real_mode::{RegSpec, Opcode, Operand, MergeMode, InstDecoder, Instruction, Segment, PrefixVex, OperandSpec}; +use yaxpeax_arch::display::DisplaySink; +use yaxpeax_arch::safer_unchecked::GetSaferUnchecked as _; + impl fmt::Display for InstDecoder { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { if self == &InstDecoder::default() { -- cgit v1.1