Skip to content

Commit

Permalink
improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Feb 27, 2019
1 parent 4e7d4c7 commit f92c204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/mem.rs
Expand Up @@ -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
///
Expand Down

0 comments on commit f92c204

Please sign in to comment.