Matthias Krüger f4297b06e8
Rollup merge of #98125 - KarlWithK:entry_add_modify_doc, r=Dylan-DPC
Entry and_modify doc

This PR modifies the documentation for [HashMap](https://doc.rust-lang.org/std/collections/struct.HashMap.html#) and [BTreeMap](https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#) by introducing examples for `and_modify`. `and_modify` is a function that tends to give more idiomatic rust code when dealing with these data structures -- yet it lacked examples and was hidden away. This PR adds that and addresses #98122.

I've made some choices which I tried to explain in my commits. This is my first time contributing to rust, so hopefully, I made the right choices.
2022-06-16 09:10:21 +02:00
..
2022-05-27 07:36:17 -04:00
2022-06-07 15:15:19 +02:00
2022-06-11 15:01:52 +02:00
2022-05-24 19:41:40 -07:00
2022-05-29 13:14:59 +04:00
2022-06-01 20:32:33 -04:00
2022-05-23 00:02:09 +02:00