diff options
| author | bors <bors@rust-lang.org> | 2024-05-02 20:40:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-02 20:40:55 +0000 |
| commit | 60267b26a15c5e3e576ea5227accb9638b6fc907 (patch) | |
| tree | 7f91c93d359c29b86dfc715bcc4920ae447d15b7 | |
| parent | 20b085d500dfba5afe0869707bf357af3afe20be (diff) | |
| parent | 63cb56e7893c360c92303cc8a88293a6e3f11e06 (diff) | |
| download | rust-60267b26a15c5e3e576ea5227accb9638b6fc907.tar.gz rust-60267b26a15c5e3e576ea5227accb9638b6fc907.zip | |
Auto merge of #12750 - cakebaker:patch-1, r=Alexendoo
`assigning_clones`: add empty line to doc changelog: none This PR adds, for consistency reasons, an empty line to the example in the doc of the `assigning_clones` lint.
| -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!() } |
