Auto merge of #32165 - alexcrichton:fix-broken-master, r=alexcrichton
collections: Fix broken doc example PR #32135 was accidentally merged without tests passing, and unfortunately one of the tests added was broken, so this fixes that.
This commit is contained in:
commit
cc62db802f
@ -355,7 +355,7 @@ impl<K: Ord, V> BTreeMap<K, V> {
|
||||
/// let mut map = BTreeMap::new();
|
||||
///
|
||||
/// // entries can now be inserted into the empty map
|
||||
/// a.insert(1, "a");
|
||||
/// map.insert(1, "a");
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub fn new() -> BTreeMap<K, V> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user