remove "Known problems" section for branches_sharing_code (#14176)

This is outdated.

changelog: none
This commit is contained in:
Alejandra González 2025-02-09 01:01:56 +00:00 committed by GitHub
commit 77344b8c58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 … {