Skip to content

Commit 508b41e

Browse files
authored
Fix typo in documentation for float_cmp_const lint
1 parent a71acac commit 508b41e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/misc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ declare_clippy_lint! {
215215
///
216216
/// **Example:**
217217
/// ```rust
218-
/// const ONE == 1.00f64
218+
/// const ONE = 1.00f64
219219
/// x == ONE // where both are floats
220220
/// ```
221221
declare_clippy_lint! {

0 commit comments

Comments
 (0)