Skip to content

Commit

Permalink
Rollup merge of #73667 - nrabulinski:master, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Update BTreeMap::new() doc

Updates the documentation according to [this comment](https://github.com/rust-lang/rust/pull/72876/files/0c5c644c91edf6ed949cfa5ffc524f43369df604#r433232581) on #72876
  • Loading branch information
Dylan-DPC authored Jun 24, 2020
2 parents 2a6e660 + f37c157 commit c4e15b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/collections/btree/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit c4e15b5

Please sign in to comment.