Skip to content

Commit 60267b2

Browse files
committed
Auto merge of rust-lang#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.
2 parents 20b085d + 63cb56e commit 60267b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/assigning_clones.rs

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ declare_clippy_lint! {
3636
/// Use instead:
3737
/// ```rust
3838
/// struct Thing;
39+
///
3940
/// impl Clone for Thing {
4041
/// fn clone(&self) -> Self { todo!() }
4142
/// fn clone_from(&mut self, other: &Self) { todo!() }

0 commit comments

Comments
 (0)