change "1" to "c" to pass test

Incorrectly wrote "1" twice when writing test.
This commit is contained in:
KarlWithK 2022-06-15 03:19:22 -05:00
parent cec72acdca
commit 791923aacb
No known key found for this signature in database
GPG Key ID: 183357B41320BB2B

View File

@ -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>