mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Update marker.rs
This commit is contained in:
parent
65e78db8d7
commit
3626b66af0
@ -299,7 +299,7 @@ marker_impls! {
|
||||
///
|
||||
/// This isn't always desired. For example, shared references (`&T`) can be copied regardless of
|
||||
/// whether `T` is `Copy`. Likewise, a generic struct containing markers such as [`PhantomData`]
|
||||
/// could potentially be duplicated with a bit-wise copy.
|
||||
/// could potentially be duplicated with a bit-wise copy.
|
||||
///
|
||||
/// ## What's the difference between `Copy` and `Clone`?
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user