diff options
| author | KarlWithK <cjh16@rice.edu> | 2022-06-15 03:19:22 -0500 |
|---|---|---|
| committer | KarlWithK <cjh16@rice.edu> | 2022-06-15 03:19:22 -0500 |
| commit | 791923aacbbab0933f8ff1108a120194addccf6b (patch) | |
| tree | b3c9b70d785f692411936309a865bfd6d2c6b8bf | |
| parent | cec72acdcae939023d7d4e09ad1b06d49f269276 (diff) | |
| download | rust-791923aacbbab0933f8ff1108a120194addccf6b.tar.gz rust-791923aacbbab0933f8ff1108a120194addccf6b.zip | |
change "1" to "c" to pass test
Incorrectly wrote "1" twice when writing test.
| -rw-r--r-- | library/alloc/src/collections/btree/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/btree/map.rs b/library/alloc/src/collections/btree/map.rs index 7532c1d5114..11845f50d78 100644 --- a/library/alloc/src/collections/btree/map.rs +++ b/library/alloc/src/collections/btree/map.rs @@ -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> |
