Files
rust/library/std/src
KarlWithK d3d22e1e66 Add examples using add_modify to HashMap
Updated the HashMap's documentation to include two references to
add_modify.

The first is when the `Entry` API is mentioned at the beginning. I was
hesitant to change the "attack" example (although I believe that it is
perfect example of where `add_modify` should be used) because both uses
work equally, but one is more idiomatic (`add_modify`).

The second is with the `entry` function that is used for the `Entry`
API. The code example was a perfect use for `add_modify`, which is why
it was changed to reflect that.
2022-06-15 01:41:56 -05:00
..
2021-10-25 22:44:41 -05:00
2022-04-07 08:51:59 +01:00
2022-05-25 20:09:59 -07:00
2022-05-27 07:36:17 -04:00
2022-03-23 05:33:44 +00:00
2022-06-07 15:15:19 +02:00
2022-06-11 15:01:52 +02:00
2022-04-14 01:33:13 -04: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-08 22:15:26 +08:00
2022-05-23 00:02:09 +02:00