From 70f5bb1ff6f0eed2f7699fb3cee48775042b8dfb Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Tue, 24 Jul 2018 09:26:28 +0100 Subject: [PATCH] Tweak misrefactored_assign_op's known problems wording --- clippy_lints/src/assign_ops.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/assign_ops.rs b/clippy_lints/src/assign_ops.rs index d61515d533f0..1ce690abcfe9 100644 --- a/clippy_lints/src/assign_ops.rs +++ b/clippy_lints/src/assign_ops.rs @@ -53,8 +53,8 @@ declare_clippy_lint! { /// /// **Known problems:** Clippy cannot know for sure if `a op= a op b` should have /// been `a = a op a op b` or `a = a op b`/`a op= b`. Therefore it suggests both. -/// If `a op= a op b` is really the correct behaviour then -/// rewrite it as `a = (2 * a) op b` as it's less confusing. +/// If `a op= a op b` is really the correct behaviour it should be +/// written as `a = a op a op b` as it's less confusing. /// /// **Example:** /// ```rust