From 79c40acd94187145f41de9601a3ad8e1c0e3e11f Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 23 Jun 2024 16:16:32 -0700 Subject: clean up a few more feature flags --- src/display/display_sink.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/display') diff --git a/src/display/display_sink.rs b/src/display/display_sink.rs index 6741a11..18713cd 100644 --- a/src/display/display_sink.rs +++ b/src/display/display_sink.rs @@ -430,7 +430,7 @@ mod instruction_text_sink { // `InstructionTextSink::write_char` is only used by yaxpeax-x86, and is only used to // write single ASCII characters. this is wrong in the general case, but `write_char` // here is not going to be used in the general case. - if cfg!(debug_asertions) { + if cfg!(debug_assertions) { panic!("InstructionTextSink::write_char would truncate output"); } let to_push = c as u8; -- cgit v1.1