From 63cb56e7893c360c92303cc8a88293a6e3f11e06 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Thu, 2 May 2024 17:11:35 +0200 Subject: [PATCH] assigning_clones: add empty line to doc --- clippy_lints/src/assigning_clones.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/clippy_lints/src/assigning_clones.rs b/clippy_lints/src/assigning_clones.rs index f0dafb1ae0d..0b5928a65b7 100644 --- a/clippy_lints/src/assigning_clones.rs +++ b/clippy_lints/src/assigning_clones.rs @@ -36,6 +36,7 @@ declare_clippy_lint! { /// Use instead: /// ```rust /// struct Thing; + /// /// impl Clone for Thing { /// fn clone(&self) -> Self { todo!() } /// fn clone_from(&mut self, other: &Self) { todo!() }