We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f0f8ac commit 78b141dCopy full SHA for 78b141d
clippy_lints/src/drop_forget_ref.rs
@@ -60,7 +60,7 @@ declare_clippy_lint! {
60
/// ```rust
61
/// let x:i32 = 42; // i32 implements Copy
62
/// std::mem::drop(x) // A copy of x is passed to the function, leaving the
63
-/// original unaffected
+/// // original unaffected
64
/// ```
65
declare_clippy_lint! {
66
pub DROP_COPY,
@@ -87,7 +87,7 @@ declare_clippy_lint! {
87
88
89
/// std::mem::forget(x) // A copy of x is passed to the function, leaving the
90
91
92
93
pub FORGET_COPY,
0 commit comments