about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBrayden Winterton <bwinterton@gmail.com>2016-04-22 10:26:55 -0600
committerBrayden Winterton <bwinterton@gmail.com>2016-04-22 10:26:55 -0600
commit3e9ea3b6044f06f588e01436cb4344ae93964846 (patch)
treef9b9215823ed2b603cd5109ccead07ff22a9467b /src/libstd
parenta264f5b7e8df34c4bf7f10d0c6c7f9ab805ee672 (diff)
downloadrust-3e9ea3b6044f06f588e01436cb4344ae93964846.tar.gz
rust-3e9ea3b6044f06f588e01436cb4344ae93964846.zip
Make HashSet::Insert documentation more consistent
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hash/set.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/collections/hash/set.rs b/src/libstd/collections/hash/set.rs
index b353a4c1ba1..e4ef3fca55d 100644
--- a/src/libstd/collections/hash/set.rs
+++ b/src/libstd/collections/hash/set.rs
@@ -535,9 +535,9 @@ impl<T, S> HashSet<T, S>
 
     /// 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.
+    /// If the set did have this value present, `false` is returned.
     ///
     /// # Examples
     ///