about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEvan Stoll <evanjsx@gmail.com>2019-11-02 14:19:25 -0400
committerEvan Stoll <evanjsx@gmail.com>2019-11-02 14:19:25 -0400
commit8ca9c237a069dc12db8073923ec0a4a83d0a1efc (patch)
treef47fac4d48f482a3191b37d2800c661aacad5b2c
parent9a2c968f9ff9826fb46e8b37036f904f303e064b (diff)
downloadrust-8ca9c237a069dc12db8073923ec0a4a83d0a1efc.tar.gz
rust-8ca9c237a069dc12db8073923ec0a4a83d0a1efc.zip
deprecated_lints: re-fix ASSIGN_OPS lint doc-comment
-rw-r--r--clippy_lints/src/deprecated_lints.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/clippy_lints/src/deprecated_lints.rs b/clippy_lints/src/deprecated_lints.rs
index a7640b8e8ce..729c494d1dc 100644
--- a/clippy_lints/src/deprecated_lints.rs
+++ b/clippy_lints/src/deprecated_lints.rs
@@ -82,12 +82,12 @@ declare_deprecated_lint! {
     "this lint has been split into cast_ptr_alignment and transmute_ptr_to_ptr"
 }
 
-/// **What it does:** Nothing. This lint has been deprecated.
-///
-/// **Deprecation reason:** This lint is too subjective, not having a good reason for being in clippy.
-/// Additionally, compound assignment operators may be overloaded separately from their non-assigning
-/// counterparts, so this lint may suggest a change in behavior or the code may not compile.
 declare_deprecated_lint! {
+    /// **What it does:** Nothing. This lint has been deprecated.
+    ///
+    /// **Deprecation reason:** This lint is too subjective, not having a good reason for being in clippy.
+    /// Additionally, compound assignment operators may be overloaded separately from their non-assigning
+    /// counterparts, so this lint may suggest a change in behavior or the code may not compile.
     pub ASSIGN_OPS,
     "using compound assignment operators (e.g., `+=`) is harmless"
 }