about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-19 17:37:04 +0000
committerbors <bors@rust-lang.org>2021-09-19 17:37:04 +0000
commit871ad80bb02af6d8fbf3f5c7291916b817c75168 (patch)
tree09304fe155b48f9bf90266bf6f8b5c35ad1a93bd /compiler/rustc_codegen_llvm/src
parent59cd77710d73ba65d56f0c5c167ef503174a4826 (diff)
parentee6a6b55c4281d2bdd78bc48eb507db7aa525cf7 (diff)
downloadrust-871ad80bb02af6d8fbf3f5c7291916b817c75168.tar.gz
rust-871ad80bb02af6d8fbf3f5c7291916b817c75168.zip
Auto merge of #7690 - Jarcho:while_loop_by_ref, r=xFrednet
Change `while_let_on_iterator` suggestion to use `by_ref()`

It came up in the discussion #7659 that suggesting `iter.by_ref()` is a clearer suggestion than `&mut iter`. I personally think they're equivalent, but if `by_ref()` is clearer to people then that should be the suggestion.

changelog: Change `while_let_on_iterator` suggestion when using `&mut` to use `by_ref()`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions