about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrayden Winterton <bwinterton@gmail.com>2016-04-29 09:59:39 -0600
committerBrayden Winterton <bwinterton@gmail.com>2016-04-29 09:59:39 -0600
commit3c1d08744db20cf0e414c597ab3b8d62fe4d7f66 (patch)
treeeae6926c75aa7f2f077e5fa1217fc92742d9ec13
parent115c6c810caf8cedf04297804b1316e7b4e092d7 (diff)
Make Btreeset::Insert docs more consistent
-rw-r--r--src/libcollections/btree/set.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/btree/set.rs b/src/libcollections/btree/set.rs
index 5419d7a301a..3ee42499a38 100644
--- a/src/libcollections/btree/set.rs
+++ b/src/libcollections/btree/set.rs
@@ -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