mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 21:47:04 +00:00
Auto merge of #33276 - bwinterton:btreeset-insert-doc-fix, r=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
This commit is contained in:
commit
2a815a26c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user