Skip to content

Commit

Permalink
Demote float_cmp to restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Sep 19, 2021
1 parent 871ad80 commit 54eeb4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ declare_clippy_lint! {
/// if (y - x).abs() > error_margin { }
/// ```
pub FLOAT_CMP,
correctness,
restriction,
"using `==` or `!=` on float values instead of comparing difference with an epsilon"
}

Expand Down

0 comments on commit 54eeb4d

Please sign in to comment.