Assert in release mode too on duplicate keys (#1228)
This commit is contained in:
parent
a06871a689
commit
11a2f9ac31
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
)+
|
||||
)*
|
||||
|
|
Loading…
Reference in a new issue