diff options
| author | Daniel Hofstetter <daniel.hofstetter@42dh.com> | 2024-05-02 17:11:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-02 17:11:35 +0200 |
| commit | 63cb56e7893c360c92303cc8a88293a6e3f11e06 (patch) | |
| tree | 7f91c93d359c29b86dfc715bcc4920ae447d15b7 | |
| parent | 20b085d500dfba5afe0869707bf357af3afe20be (diff) | |
| download | rust-63cb56e7893c360c92303cc8a88293a6e3f11e06.tar.gz rust-63cb56e7893c360c92303cc8a88293a6e3f11e06.zip | |
assigning_clones: add empty line to doc
| -rw-r--r-- | clippy_lints/src/assigning_clones.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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!() } |
