aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/display.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-23 22:22:31 -0700
committeriximeow <me@iximeow.net>2024-06-23 22:22:31 -0700
commit25b9a530b3b19b9dcb27b9596df51f43bb272bd8 (patch)
tree4cae0f1ab2a71996fc5bd2ccce4ddfd1c0b4ce9b /src/long_mode/display.rs
parent09dcfca94240b6c18fbaa1186781dac0d436e500 (diff)
fix several sources of dead code warnings in various crate configs
Diffstat (limited to 'src/long_mode/display.rs')
-rw-r--r--src/long_mode/display.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs
index 147517a..6cf2def 100644
--- a/src/long_mode/display.rs
+++ b/src/long_mode/display.rs
@@ -5,7 +5,7 @@ use core::fmt;
use yaxpeax_arch::{Colorize, ShowContextual, NoColors, YaxColors};
use crate::MEM_SIZE_STRINGS;
-use crate::long_mode::{RegSpec, Opcode, Operand, MergeMode, InstDecoder, Instruction, Segment, PrefixRex, OperandSpec};
+use crate::long_mode::{RegSpec, Opcode, Operand, MergeMode, InstDecoder, Instruction, Segment, PrefixRex};
use yaxpeax_arch::display::DisplaySink;
use yaxpeax_arch::safer_unchecked::GetSaferUnchecked as _;
@@ -4204,7 +4204,7 @@ impl <T: fmt::Write, Y: YaxColors> ShowContextual<u64, [Option<alloc::string::St
Some(s) => { write!(out, " {}", s)?; },
None => {
match self.operands[0] {
- OperandSpec::Nothing => {
+ super::OperandSpec::Nothing => {
return Ok(());
},
_ => {
@@ -4227,7 +4227,7 @@ impl <T: fmt::Write, Y: YaxColors> ShowContextual<u64, [Option<alloc::string::St
Some(s) => { write!(out, ", {}", s)? }
None => {
match &self.operands[i] {
- &OperandSpec::Nothing => {
+ &super::OperandSpec::Nothing => {
return Ok(());
},
_ => {