Skip to content

Commit

Permalink
change "1" to "c" to pass test
Browse files Browse the repository at this point in the history
Incorrectly wrote "1" twice when writing test.
  • Loading branch information
SeniorMars committed Jun 15, 2022
1 parent cec72ac commit 791923a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/collections/btree/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ impl<K, V> BTreeMap<K, V> {
///
/// assert_eq!(count["a"], 3);
/// assert_eq!(count["b"], 2);
/// assert_eq!(count["1"], 1);
/// assert_eq!(count["c"], 1);
/// ```
#[stable(feature = "rust1", since = "1.0.0")]
pub fn entry(&mut self, key: K) -> Entry<'_, K, V>
Expand Down

0 comments on commit 791923a

Please sign in to comment.