Skip to content

Commit

Permalink
Auto merge of rust-lang#33276 - bwinterton:btreeset-insert-doc-fix, r…
Browse files Browse the repository at this point in the history
…=GuillaumeGomez

Make BTreeSet::Insert docs more consistent

Made the BTreeSet::Insert documentation consistent with the HashSet::Insert documentation by using the term 'value' instead of 'key'.

r? @steveklabnik
  • Loading branch information
bors committed Apr 30, 2016
2 parents 9e17622 + 3c1d087 commit 2a815a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcollections/btree/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,9 @@ impl<T: Ord> BTreeSet<T> {

/// Adds a value to the set.
///
/// If the set did not have a value present, `true` is returned.
/// If the set did not have this value present, `true` is returned.
///
/// If the set did have this key present, `false` is returned, and the
/// If the set did have this value present, `false` is returned, and the
/// entry is not updated. See the [module-level documentation] for more.
///
/// [module-level documentation]: index.html#insert-and-complex-keys
Expand Down

0 comments on commit 2a815a2

Please sign in to comment.