From 0d584f3ff760b14c8b23ae52f8ae7631305e43af Mon Sep 17 00:00:00 2001 From: JarredAllen Date: Sun, 1 Mar 2020 23:11:29 -0800 Subject: [PATCH] Fix one last test issue --- clippy_lints/src/floating_point_arithmetic.rs | 4 ++-- 1 file 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