Skip to content

Commit 1040c90

Browse files
committed
change "1" to "c" to pass test
Incorrectly wrote "1" twice when writing test.
1 parent b3d6204 commit 1040c90

File tree

1 file changed

+1
-1
lines changed
  • alloc/src/collections/btree

1 file changed

+1
-1
lines changed

alloc/src/collections/btree/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,7 @@ impl<K, V> BTreeMap<K, V> {
11431143
///
11441144
/// assert_eq!(count["a"], 3);
11451145
/// assert_eq!(count["b"], 2);
1146-
/// assert_eq!(count["1"], 1);
1146+
/// assert_eq!(count["c"], 1);
11471147
/// ```
11481148
#[stable(feature = "rust1", since = "1.0.0")]
11491149
pub fn entry(&mut self, key: K) -> Entry<'_, K, V>

0 commit comments

Comments
 (0)