about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-14 16:58:23 +0000
committerbors <bors@rust-lang.org>2020-07-14 16:58:23 +0000
commit128c5dec9294743f1ee99e3184d281f28fd05fb5 (patch)
tree2fa2995c00bc28096c78df56cfe810d61b8db058 /src/rustllvm/RustWrapper.cpp
parent97d7a8b319ea266da57a7964719a006582871be4 (diff)
parente83b3eb9930ab527451edaaa6f524acd26c1bf1c (diff)
downloadrust-128c5dec9294743f1ee99e3184d281f28fd05fb5.tar.gz
rust-128c5dec9294743f1ee99e3184d281f28fd05fb5.zip
Auto merge of #5793 - warner:5783-nth-zero-next, r=flip1995
improve advice in iter_nth_zero

fixes #5783

*Please keep the line below*
changelog:  For iter_nth_zero, the "use .next()" replacement advice is on the last line of the code snippet, where it is vulnerable to truncation. Display that advice at the beginning instead.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions