diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index ecb0cc6c..9debbbac 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -120,7 +120,7 @@ macro_rules! keymap { _key, keymap!(@trie $value) ); - debug_assert!(_duplicate.is_none(), "Duplicate key found: {:?}", _duplicate.unwrap()); + assert!(_duplicate.is_none(), "Duplicate key found: {:?}", _duplicate.unwrap()); _order.push(_key); )+ )*