Skip to content

Commit 635dbd6

Browse files
Rollup merge of #81550 - xfix:replace-mention-of-predecessor, r=jonas-schievink
Replace predecessor with range in collections documentation Fixes #81548.
2 parents 33cd862 + 56c2736 commit 635dbd6

File tree

1 file changed

+4
-4
lines changed
  • library/std/src/collections

1 file changed

+4
-4
lines changed

library/std/src/collections/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@
110110
//!
111111
//! For Sets, all operations have the cost of the equivalent Map operation.
112112
//!
113-
//! | | get | insert | remove | predecessor | append |
114-
//! |--------------|-----------|-----------|-----------|-------------|--------|
115-
//! | [`HashMap`] | O(1)~ | O(1)~* | O(1)~ | N/A | N/A |
116-
//! | [`BTreeMap`] | O(log(n)) | O(log(n)) | O(log(n)) | O(log(n)) | O(n+m) |
113+
//! | | get | insert | remove | range | append |
114+
//! |--------------|-----------|-----------|-----------|-----------|--------|
115+
//! | [`HashMap`] | O(1)~ | O(1)~* | O(1)~ | N/A | N/A |
116+
//! | [`BTreeMap`] | O(log(n)) | O(log(n)) | O(log(n)) | O(log(n)) | O(n+m) |
117117
//!
118118
//! # Correct and Efficient Usage of Collections
119119
//!

0 commit comments

Comments
 (0)