Update marker.rs
This commit is contained in:
parent
277a08c7d8
commit
e45b53efc0
@ -295,7 +295,7 @@ pub trait StructuralPartialEq {
|
||||
/// #[derive(Clone)]
|
||||
/// struct MyStruct<T>(T);
|
||||
///
|
||||
/// impl<T: Copy> Copy for MyStruct<T> { }
|
||||
/// impl<T: Copy> Copy for MyStruct<T> { }
|
||||
/// ```
|
||||
///
|
||||
/// This isn't always desired. For example, shared references (`&T`) can be copied regardless of
|
||||
|
Loading…
Reference in New Issue
Block a user