Skip to content

Commit 5e3b968

Browse files
committed
remove "Known problems" section for branches_sharing_code
1 parent 5211148 commit 5e3b968

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

clippy_lints/src/copies.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,6 @@ declare_clippy_lint! {
129129
/// ### Why is this bad?
130130
/// Duplicate code is less maintainable.
131131
///
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-
///
137132
/// ### Example
138133
/// ```ignore
139134
/// let foo = if … {

0 commit comments

Comments
 (0)