about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-07-30 16:26:57 +0900
committerGitHub <noreply@github.com>2021-07-30 16:26:57 +0900
commit3bc6c28376e334014c1d2980e9e30f4d1b9abb1b (patch)
tree43567c18141a83564814e7cde56eaaf03691daa2 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent55ce7ed5f22af4b518414e0dddcbe8c529a5cd0c (diff)
parentd4a60ab34f4f612365e353fafdfb4e28f1484e47 (diff)
downloadrust-3bc6c28376e334014c1d2980e9e30f4d1b9abb1b.tar.gz
rust-3bc6c28376e334014c1d2980e9e30f4d1b9abb1b.zip
Rollup merge of #87574 - cuviper:retain-examples, r=joshtriplett
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions