@@ -22,10 +22,10 @@ just unique keys without a corresponding value. The `Map` and `Set` traits in
2222
2323The standard library provides three owned map/set types:
2424
25- * ` std::hashmap:: HashMap` and ` std::hashmap ::HashSet` , requiring the keys to
25+ * ` collections:: HashMap` and ` collections ::HashSet` , requiring the keys to
2626 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
2929 to implement ` TotalOrd `
3030
3131These maps do not use managed pointers so they can be sent between tasks as
@@ -42,19 +42,19 @@ implementing the `Hash` trait.
4242
4343## Double-ended queues
4444
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) `
4646amortized inserts and removals from both ends of the container. It also has
4747` O(1) ` indexing like a vector. The contained elements are not required to be
4848copyable, 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 ` .
5050
5151The ` extra::dlist ` module implements a double-ended linked list, also
5252implementing the ` Deque ` trait, with ` O(1) ` removals and inserts at either end,
5353and ` O(1) ` concatenation.
5454
5555## Priority queues
5656
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
5858contained elements are not required to be copyable, and the queue will be
5959sendable if the contained type is sendable.
6060
0 commit comments