Skip to content

Commit

Permalink
Fix release profile bug
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewliebenow authored and sylvestre committed Nov 16, 2024
1 parent d565617 commit 1c59495
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/uu/stty/src/stty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,9 @@ fn get_special_character_indices_hash_map() -> HashMap<&'static str, SpecialChar
let mut hash_map = HashMap::<&'static str, SpecialCharacterIndices>::with_capacity(18_usize);

let mut insert = |key: &'static str, value: SpecialCharacterIndices| {
debug_assert!(hash_map.insert(key, value).is_none());
let op = hash_map.insert(key, value);

debug_assert!(op.is_none());
};

/* #region POSIX */
Expand Down

0 comments on commit 1c59495

Please sign in to comment.