Skip to content
Permalink
Browse files

improve readability

  • Loading branch information...
RalfJung committed Feb 27, 2019
1 parent 4e7d4c7 commit f92c20426ea5f5ddcc6dcf73dbe0739d3d76b614
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libcore/mem.rs
@@ -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
///

0 comments on commit f92c204

Please sign in to comment.
You can’t perform that action at this time.