docs: add another derive
for Copy
able struct
This adds another `derive` for a `Copy`able struct, so that we are consistent with `derive` annotations.
This commit is contained in:
parent
56daf63d10
commit
522d177f34
1 changed files with 1 additions and 0 deletions
|
@ -291,6 +291,7 @@ pub trait StructuralEq {
|
|||
///
|
||||
/// ```
|
||||
/// # #[allow(dead_code)]
|
||||
/// #[derive(Copy, Clone)]
|
||||
/// struct Point {
|
||||
/// x: i32,
|
||||
/// y: i32,
|
||||
|
|
Loading…
Reference in a new issue