Skip to content

Commit 1620e92

Browse files
committed
Auto merge of #3777 - timotree3:patch-1, r=Manishearth
Fix typo in documentation for float_cmp_const lint
2 parents a71acac + 99eccaa commit 1620e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/misc.rs

+1-1
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)