Skip to content

Commit

Permalink
Update marker.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
chancancode authored Sep 3, 2024
1 parent 277a08c commit e45b53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e45b53e

Please sign in to comment.