assigning_clones: add empty line to doc

This commit is contained in:
Daniel Hofstetter 2024-05-02 17:11:35 +02:00 committed by GitHub
parent 20b085d500
commit 63cb56e789
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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!() }