diff options
| author | JarredAllen <jarredallen73@gmail.com> | 2020-03-01 23:11:29 -0800 |
|---|---|---|
| committer | JarredAllen <jarredallen73@gmail.com> | 2020-03-01 23:11:29 -0800 |
| commit | 0d584f3ff760b14c8b23ae52f8ae7631305e43af (patch) | |
| tree | 1a25ea5db7097fd5bafeb93dec1bea20e893f8a2 | |
| parent | d88750371dcd333482037dd87cfaaddd1b301685 (diff) | |
| download | rust-0d584f3ff760b14c8b23ae52f8ae7631305e43af.tar.gz rust-0d584f3ff760b14c8b23ae52f8ae7631305e43af.zip | |
Fix one last test issue
| -rw-r--r-- | clippy_lints/src/floating_point_arithmetic.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/floating_point_arithmetic.rs b/clippy_lints/src/floating_point_arithmetic.rs index f2e6bd7da17..de2c245f451 100644 --- a/clippy_lints/src/floating_point_arithmetic.rs +++ b/clippy_lints/src/floating_point_arithmetic.rs @@ -76,12 +76,12 @@ declare_clippy_lint! { /// -a /// } else { /// a - /// } + /// }; /// let _ = if a < 0.0 { /// a /// } else { /// -a - /// } + /// }; /// ``` /// /// is better expressed as |
