Update marker.rs

This commit is contained in:
Godfrey Chan 2024-09-03 11:43:03 -07:00 committed by GitHub
parent 65e78db8d7
commit 3626b66af0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -299,7 +299,7 @@ pub trait StructuralPartialEq {
///
/// 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`?
///