assigning_clones: add empty line to doc
This commit is contained in:
parent
20b085d500
commit
63cb56e789
@ -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!() }
|
||||
|
Loading…
x
Reference in New Issue
Block a user