From 791923aacbbab0933f8ff1108a120194addccf6b Mon Sep 17 00:00:00 2001 From: KarlWithK Date: Wed, 15 Jun 2022 03:19:22 -0500 Subject: [PATCH] change "1" to "c" to pass test Incorrectly wrote "1" twice when writing test. --- library/alloc/src/collections/btree/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/collections/btree/map.rs b/library/alloc/src/collections/btree/map.rs index 7532c1d511474..11845f50d7849 100644 --- a/library/alloc/src/collections/btree/map.rs +++ b/library/alloc/src/collections/btree/map.rs @@ -1143,7 +1143,7 @@ impl BTreeMap { /// /// 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>