improve readability
This commit is contained in:
parent
4e7d4c7778
commit
f92c20426e
1 changed files with 1 additions and 1 deletions
|
|
@ -908,7 +908,7 @@ pub fn discriminant<T>(v: &T) -> Discriminant<T> {
|
|||
/// `ManuallyDrop<T>` is subject to the same layout optimizations as `T`.
|
||||
/// As a consequence, it has *no effect* on the assumptions that the compiler makes
|
||||
/// about all values being initialized at their type. In particular, initializing
|
||||
/// a `ManuallyDrop<&T>` with [`mem::zeroed`] is undefined behavior.
|
||||
/// a `ManuallyDrop<&mut T>` with [`mem::zeroed`] is undefined behavior.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue