diff --git a/clippy_lints/src/needless_move.rs b/clippy_lints/src/needless_move.rs index fe5eb42103a6..bcbdd210295b 100644 --- a/clippy_lints/src/needless_move.rs +++ b/clippy_lints/src/needless_move.rs @@ -66,6 +66,7 @@ declare_clippy_lint! { /// with the `move` keyword, even if it's not necessary: /// /// ```no_run + /// # fn function_that_does_something_with(_: String) {} /// let a = String::new(); /// std::thread::spawn(move || { /// // ...