aboutsummaryrefslogtreecommitdiff
path: root/src/display
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-23 16:16:32 -0700
committeriximeow <me@iximeow.net>2024-06-23 16:16:32 -0700
commit79c40acd94187145f41de9601a3ad8e1c0e3e11f (patch)
treeaef404c1e4b5f056676067f80de85178763d6005 /src/display
parentac4c85c988f4217301baa94947a24151950b42fe (diff)
clean up a few more feature flags
Diffstat (limited to 'src/display')
-rw-r--r--src/display/display_sink.rs2
1 files changed, 1 insertions, 1 deletions
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;