Fix typo in documentation for float_cmp_const lint
This commit is contained in:
parent
a71acac1da
commit
508b41ecef
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ declare_clippy_lint! {
|
|||
///
|
||||
/// **Example:**
|
||||
/// ```rust
|
||||
/// const ONE == 1.00f64
|
||||
/// const ONE = 1.00f64
|
||||
/// x == ONE // where both are floats
|
||||
/// ```
|
||||
declare_clippy_lint! {
|
||||
|
|
Loading…
Reference in a new issue