Guillaume Gomez
28588e5df1
Add missing examples on HashSet iter types
2020-09-18 20:09:31 +02:00
Matt Brubeck
fb1fab5a67
Tests for HashMap/HashSet::drain_filter
2020-09-08 17:24:28 -07:00
Matt Brubeck
49aef963d3
Add HashMap::drain_filter and HashSet::drain_filter
...
Implements #59618 .
2020-09-08 17:24:28 -07:00
Matt Brubeck
ebd15e790a
Implement HashSet in terms of hashbrown::HashSet
2020-09-08 17:24:23 -07:00
Matt Brubeck
15ccdeb224
Update to hashbrown 0.9
2020-09-08 17:23:26 -07:00
bors
aa81d32165
Auto merge of #76128 - poliorcetics:doc-use-arc-clone, r=KodrAus
...
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
2020-09-06 12:34:31 +00:00
Lzu Tao
a4e926daee
std: move "mod tests/benches" to separate files
...
Also doing fmt inplace as requested.
2020-08-31 02:56:59 +00:00
Alexis Bourget
81e85ce76d
Move to Arc::clone(&x) over x.clone() in library/std
2020-08-30 21:59:43 +02:00
Camelid
e9928d8926
Switch to intra-doc links in std::collections
2020-08-23 13:51:01 -07:00
Nazım Can Altınova
4cd2637e2b
Update the tracking issue number of map_into_keys_values
2020-08-08 16:35:54 +02:00
Nazım Can Altınova
25545ed180
Only print the fields that are relevant to iterators for Debug of IntoKeys and IntoValues
2020-08-07 13:47:04 +02:00
Nazım Can Altınova
41dd4ee7ff
Add unit tests for new HashMap::into_{keys,values} methods
2020-08-07 13:13:41 +02:00
Nazım Can Altınova
e31116af50
Add into_{keys,values} methods for HashMap
2020-08-07 13:13:37 +02:00
Amanieu d'Antras
d51b7b229a
Update hashbrown to 0.8.1
2020-08-07 07:03:12 +01:00
mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00