We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ref_mut_iter_method_chain
1 parent c959d5e commit 453c07bCopy full SHA for 453c07b
clippy_lints/src/methods/mod.rs
@@ -1879,6 +1879,7 @@ declare_clippy_lint! {
1879
/// let mut iter = ['a', 'b', '.', 'd'].iter();
1880
/// let before_dot = iter.by_ref().take_while(|&&c| c != '.').collect::<Vec<_>>();
1881
/// ```
1882
+ #[clippy::version = "1.58.0"]
1883
pub REF_MUT_ITER_METHOD_CHAIN,
1884
style,
1885
"`&mut iter` used in a method chain"
0 commit comments