From 347042c45ced56b37a665a2c4b042b7f7aae8e03 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 22 Jun 2024 00:25:01 -0700 Subject: extract reusable display bits into yaxpeax-arch, add a visitor fn to Operand comes with deleting the body of impl Colorize for Operand, because we can reuse the normal operand formatting code --- test/long_mode/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs index 7742496..96c7c79 100644 --- a/test/long_mode/mod.rs +++ b/test/long_mode/mod.rs @@ -79,7 +79,7 @@ fn test_display_under(decoder: &InstDecoder, data: &[u8], expected: &'static str ); let mut text2 = String::new(); - let mut out = yaxpeax_x86::display::NoColorsSink { + let mut out = yaxpeax_arch::display::NoColorsSink { out: &mut text2, }; instr.write_to(&mut out).expect("printing succeeds"); -- cgit v1.1