mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
871ad80bb0
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()` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |