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.
branches_sharing_code
2 parents 6cdb7f6 + 5e3b968 commit 77344b8Copy full SHA for 77344b8
clippy_lints/src/copies.rs
@@ -129,11 +129,6 @@ declare_clippy_lint! {
129
/// ### Why is this bad?
130
/// Duplicate code is less maintainable.
131
///
132
- /// ### Known problems
133
- /// * The lint doesn't check if the moved expressions modify values that are being used in
134
- /// the if condition. The suggestion can in that case modify the behavior of the program.
135
- /// See [rust-clippy#7452](https://github.com/rust-lang/rust-clippy/issues/7452)
136
- ///
137
/// ### Example
138
/// ```ignore
139
/// let foo = if … {
0 commit comments