Skip to content

Commit 8ca9c23

Browse files
committed
deprecated_lints: re-fix ASSIGN_OPS lint doc-comment
1 parent 9a2c968 commit 8ca9c23

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

clippy_lints/src/deprecated_lints.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ declare_deprecated_lint! {
8282
"this lint has been split into cast_ptr_alignment and transmute_ptr_to_ptr"
8383
}
8484

85-
/// **What it does:** Nothing. This lint has been deprecated.
86-
///
87-
/// **Deprecation reason:** This lint is too subjective, not having a good reason for being in clippy.
88-
/// Additionally, compound assignment operators may be overloaded separately from their non-assigning
89-
/// counterparts, so this lint may suggest a change in behavior or the code may not compile.
9085
declare_deprecated_lint! {
86+
/// **What it does:** Nothing. This lint has been deprecated.
87+
///
88+
/// **Deprecation reason:** This lint is too subjective, not having a good reason for being in clippy.
89+
/// Additionally, compound assignment operators may be overloaded separately from their non-assigning
90+
/// counterparts, so this lint may suggest a change in behavior or the code may not compile.
9191
pub ASSIGN_OPS,
9292
"using compound assignment operators (e.g., `+=`) is harmless"
9393
}

0 commit comments

Comments
 (0)