remove "Known problems" section for branches_sharing_code (#14176)
This is outdated. changelog: none
This commit is contained in:
commit
77344b8c58
1 changed files with 0 additions and 5 deletions
|
|
@ -129,11 +129,6 @@ declare_clippy_lint! {
|
|||
/// ### Why is this bad?
|
||||
/// Duplicate code is less maintainable.
|
||||
///
|
||||
/// ### Known problems
|
||||
/// * The lint doesn't check if the moved expressions modify values that are being used in
|
||||
/// the if condition. The suggestion can in that case modify the behavior of the program.
|
||||
/// See [rust-clippy#7452](https://github.com/rust-lang/rust-clippy/issues/7452)
|
||||
///
|
||||
/// ### Example
|
||||
/// ```ignore
|
||||
/// let foo = if … {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue