about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-06-24 14:28:45 +0200
committerGitHub <noreply@github.com>2020-06-24 14:28:45 +0200
commitc4e15b5c5a727af73758246396f42616099deb90 (patch)
treeb8c468b7dcf696329b60b16270a461362bfd2090 /src/liballoc
parent2a6e660ae17f399d93ad9104d8b9a6075d2e84ce (diff)
parentf37c157f2ca1b56d17389cacb4287aebc44edc45 (diff)
downloadrust-c4e15b5c5a727af73758246396f42616099deb90.tar.gz
rust-c4e15b5c5a727af73758246396f42616099deb90.zip
Rollup merge of #73667 - nrabulinski:master, r=Dylan-DPC
Update BTreeMap::new() doc

Updates the documentation according to [this comment](https://github.com/rust-lang/rust/pull/72876/files/0c5c644c91edf6ed949cfa5ffc524f43369df604#r433232581) on #72876
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/collections/btree/map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/collections/btree/map.rs b/src/liballoc/collections/btree/map.rs
index 350249f5db5..34cacebe796 100644
--- a/src/liballoc/collections/btree/map.rs
+++ b/src/liballoc/collections/btree/map.rs
@@ -488,7 +488,7 @@ struct MergeIter<K, V, I: Iterator<Item = (K, V)>> {
 }
 
 impl<K: Ord, V> BTreeMap<K, V> {
-    /// Makes a new empty BTreeMap with a reasonable choice for B.
+    /// Makes a new empty BTreeMap.
     ///
     /// Does not allocate anything on its own.
     ///