diff options
| author | bors <bors@rust-lang.org> | 2016-01-16 12:04:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-16 12:04:38 +0000 |
| commit | 921890c64efda530ca403d97b47e8f42b64e3c37 (patch) | |
| tree | 5b6e05261e9341009dcb8a2781bcccf1966f5c46 | |
| parent | 8e12365570c4a9e781298058d6394705ac648a3b (diff) | |
| parent | ac06fee5a38a6759158c1d3c82cf36073185bb90 (diff) | |
Auto merge of #30939 - shepmaster:btreeset-insert-return-value, r=alexcrichton
| -rw-r--r-- | src/libcollections/btree/set.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/btree/set.rs b/src/libcollections/btree/set.rs index 55e9e3a1c34..c1381dde762 100644 --- a/src/libcollections/btree/set.rs +++ b/src/libcollections/btree/set.rs @@ -453,7 +453,7 @@ impl<T: Ord> BTreeSet<T> { /// /// If the set did not have a value present, `true` is returned. /// - /// If the set did have this key present, that value is returned, and the + /// If the set did have this key 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 |
