mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
Added known problem to comparison_chain docs
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
/// **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
|
||||
|
||||
Reference in New Issue
Block a user