Files
rust/library/alloc/src
Josh Stone d4a60ab34f Update the examples in String and VecDeque::retain
The examples added in #60396 used a "clever" post-increment hack,
unrelated to the actual point of the examples. That hack was found
[confusing] in the users forum, and #81811 already changed the `Vec`
example to use a more direct iterator. This commit changes `String` and
`VecDeque` in the same way for consistency.

[confusing]: https://users.rust-lang.org/t/help-understand-strange-expression/62858
2021-07-28 16:35:59 -07:00
..
2020-07-27 19:51:13 -05:00
2021-06-23 16:26:46 -04:00
2021-06-23 16:26:46 -04:00
2021-07-15 07:32:05 -04:00
2021-04-21 15:45:41 +02:00