Skip to content

Commit 3e9ea3b

Browse files
committed
Make HashSet::Insert documentation more consistent
1 parent a264f5b commit 3e9ea3b

File tree

1 file changed

+2
-2
lines changed
  • src/libstd/collections/hash

1 file changed

+2
-2
lines changed

src/libstd/collections/hash/set.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,9 @@ impl<T, S> HashSet<T, S>
535535

536536
/// Adds a value to the set.
537537
///
538-
/// If the set did not have a value present, `true` is returned.
538+
/// If the set did not have this value present, `true` is returned.
539539
///
540-
/// If the set did have this key present, `false` is returned.
540+
/// If the set did have this value present, `false` is returned.
541541
///
542542
/// # Examples
543543
///

0 commit comments

Comments
 (0)