Files
rust/library/std/src
Matthias Krüger 5510803fe9 Rollup merge of #91482 - JosephTLyons:update-HashMap-and-BTreeMap-documentation, r=yaahc
Update documentation to use `from()` to initialize `HashMap`s and `BTreeMap`s

As of Rust 1.56, `HashMap` and `BTreeMap` both have associated `from()` functions.  I think using these in the documentation cleans things up a bit.  It allows us to remove some of the `mut`s and avoids the Initialize-Then-Modify anti-pattern.
2021-12-10 22:40:33 +01:00
..
2021-10-25 22:44:41 -05:00
2021-12-06 21:05:13 -05:00
2021-05-19 15:52:09 +02:00
2021-10-04 10:29:46 +01:00
2021-10-25 22:44:41 -05:00
2021-10-25 22:44:41 -05:00
2021-11-21 08:15:21 -06:00
2021-08-01 11:19:24 -04:00
2021-10-19 15:02:21 +01:00
2021-12-02 19:48:10 +00:00
2021-12-04 19:40:33 +01:00