@@ -22,10 +22,10 @@ just unique keys without a corresponding value. The `Map` and `Set` traits in
22
22
23
23
The standard library provides three owned map/set types:
24
24
25
- * ` std::hashmap:: HashMap` and ` std::hashmap ::HashSet` , requiring the keys to
25
+ * ` collections:: HashMap` and ` collections ::HashSet` , requiring the keys to
26
26
implement ` Eq ` and ` Hash `
27
- * ` std::trie:: TrieMap` and ` std::trie ::TrieSet` , requiring the keys to be ` uint `
28
- * ` extra::treemap:: TreeMap` and ` extra::treemap ::TreeSet` , requiring the keys
27
+ * ` collections:: TrieMap` and ` collections ::TrieSet` , requiring the keys to be ` uint `
28
+ * ` collections:: TreeMap` and ` collections ::TreeSet` , requiring the keys
29
29
to implement ` TotalOrd `
30
30
31
31
These maps do not use managed pointers so they can be sent between tasks as
@@ -42,19 +42,19 @@ implementing the `Hash` trait.
42
42
43
43
## Double-ended queues
44
44
45
- The ` extra ::ringbuf` module implements a double-ended queue with ` O(1) `
45
+ The ` collections ::ringbuf` module implements a double-ended queue with ` O(1) `
46
46
amortized inserts and removals from both ends of the container. It also has
47
47
` O(1) ` indexing like a vector. The contained elements are not required to be
48
48
copyable, and the queue will be sendable if the contained type is sendable.
49
- Its interface ` Deque ` is defined in ` extra:: collections` .
49
+ Its interface ` Deque ` is defined in ` collections ` .
50
50
51
51
The ` extra::dlist ` module implements a double-ended linked list, also
52
52
implementing the ` Deque ` trait, with ` O(1) ` removals and inserts at either end,
53
53
and ` O(1) ` concatenation.
54
54
55
55
## Priority queues
56
56
57
- The ` extra ::priority_queue` module implements a queue ordered by a key. The
57
+ The ` collections ::priority_queue` module implements a queue ordered by a key. The
58
58
contained elements are not required to be copyable, and the queue will be
59
59
sendable if the contained type is sendable.
60
60
0 commit comments