We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 115c6c8 commit 3c1d087Copy full SHA for 3c1d087
src/libcollections/btree/set.rs
@@ -477,9 +477,9 @@ impl<T: Ord> BTreeSet<T> {
477
478
/// Adds a value to the set.
479
///
480
- /// If the set did not have a value present, `true` is returned.
+ /// If the set did not have this value present, `true` is returned.
481
482
- /// 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
483
/// entry is not updated. See the [module-level documentation] for more.
484
485
/// [module-level documentation]: index.html#insert-and-complex-keys
0 commit comments