Skip to content

Commit 921890c

Browse files
committed
Auto merge of #30939 - shepmaster:btreeset-insert-return-value, r=alexcrichton
2 parents 8e12365 + ac06fee commit 921890c

File tree

1 file changed

+1
-1
lines changed
  • src/libcollections/btree

1 file changed

+1
-1
lines changed

src/libcollections/btree/set.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ impl<T: Ord> BTreeSet<T> {
453453
///
454454
/// If the set did not have a value present, `true` is returned.
455455
///
456-
/// If the set did have this key present, that value is returned, and the
456+
/// If the set did have this key present, `false` is returned, and the
457457
/// entry is not updated. See the [module-level documentation] for more.
458458
///
459459
/// [module-level documentation]: index.html#insert-and-complex-keys

0 commit comments

Comments
 (0)