Skip to content

Commit

Permalink
#7 typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Apr 19, 2023
1 parent 3cad983 commit bf1ffd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.rs
Expand Up @@ -119,7 +119,7 @@ impl<K: Copy + PartialEq, V: Clone + Copy, const N: usize> Map<K, V, N> {
self.next += 1;
return;
}
panic!("There are only {N} pairs available in the map and all of them are already occupied")
panic!("There are only {N} keys available in the map and all of them are already occupied")
}

/// Get a reference to a single value.
Expand Down

0 comments on commit bf1ffd6

Please sign in to comment.