Skip to content

Commit d54bd9b

Browse files
author
Clark Gaebel
committed
code review
1 parent ab6265e commit d54bd9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/0000-collections-reform-part-2.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pub fn resize(&mut self, new_len: uint, value: T) where T: Clone
122122
This is actually easy to implement out-of-tree on top of the current Vec API, but it has
123123
been frequently requested.
124124

125-
* For HashMap and HashSet:
125+
* For Vec, RingBuf, BinaryHeap, HashMap and HashSet:
126126
```
127127
/// Clears the map, returning all key-value pairs as an iterator. Keeps the
128128
/// allocated memory for reuse.
@@ -132,7 +132,7 @@ pub fn drain(&mut self) -> DrainEntries<K, V>;
132132
This provides a way to grab elements out of a HashMap by value, without
133133
deallocating the storage for the map itself.
134134

135-
There is an implementation of this at rust-lang/rust#19946.
135+
There is a partial implementation of this at rust-lang/rust#19946.
136136

137137
==============
138138
## Deprecate

0 commit comments

Comments
 (0)