Update marker.rs
This commit is contained in:
parent
277a08c7d8
commit
e45b53efc0
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ marker_impls! {
|
|||
/// #[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…
Add table
Add a link
Reference in a new issue