Added known problem to comparison_chain docs
This commit is contained in:
parent
f9b8a59615
commit
cb6a654b75
1 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,8 @@ declare_clippy_lint! {
|
|||
/// **Why is this bad?** `if` is not guaranteed to be exhaustive and conditionals can get
|
||||
/// repetitive
|
||||
///
|
||||
/// **Known problems:** None.
|
||||
/// **Known problems:** The match statement may be slower due to the compiler
|
||||
/// not inlining the call to cmp. See issue #5354
|
||||
///
|
||||
/// **Example:**
|
||||
/// ```rust,ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue