Skip to content

Commit 77344b8

Browse files
authored
remove "Known problems" section for branches_sharing_code (#14176)
This is outdated. changelog: none
2 parents 6cdb7f6 + 5e3b968 commit 77344b8

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)