mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 02:54:00 +00:00
Auto merge of #3777 - timotree3:patch-1, r=Manishearth
Fix typo in documentation for float_cmp_const lint
This commit is contained in:
commit
1620e92dd6
@ -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 New Issue
Block a user