We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab9b7a5 commit f10e39fCopy full SHA for f10e39f
clippy_lints/src/loops/while_pop_unwrap.rs
@@ -16,6 +16,7 @@ use super::WHILE_POP_UNWRAP;
16
///
17
/// Depending on whether the value was assigned to a variable or not changes what pattern
18
/// we use for the suggestion.
19
+#[derive(Copy, Clone)]
20
enum PopStmt<'hir> {
21
/// `x.pop().unwrap()` was and assigned to a variable.
22
/// The pattern of this local variable will be used and the local statement
0 commit comments