diff options
| author | bors <bors@rust-lang.org> | 2021-09-19 17:37:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-09-19 17:37:04 +0000 |
| commit | 871ad80bb02af6d8fbf3f5c7291916b817c75168 (patch) | |
| tree | 09304fe155b48f9bf90266bf6f8b5c35ad1a93bd /compiler/rustc_codegen_llvm/src | |
| parent | 59cd77710d73ba65d56f0c5c167ef503174a4826 (diff) | |
| parent | ee6a6b55c4281d2bdd78bc48eb507db7aa525cf7 (diff) | |
| download | rust-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
