Merge commit 'ff0993c5e9
' into clippy
This commit is contained in:
parent
161474b7f7
commit
8db24840f7
143 changed files with 3965 additions and 936 deletions
|
@ -14,7 +14,11 @@ declare_clippy_lint! {
|
|||
///
|
||||
/// **Example:**
|
||||
/// ```rust
|
||||
/// 0.0f32 / 0.0;
|
||||
/// // Bad
|
||||
/// let nan = 0.0f32 / 0.0;
|
||||
///
|
||||
/// // Good
|
||||
/// let nan = f32::NAN;
|
||||
/// ```
|
||||
pub ZERO_DIVIDED_BY_ZERO,
|
||||
complexity,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue