Grammar tweak.
This commit is contained in:
parent
68209c3fe4
commit
9bac5774d7
1 changed files with 4 additions and 4 deletions
|
@ -83,10 +83,10 @@
|
|||
//! * [`ptr::NonNull<U>`]
|
||||
//! * `#[repr(transparent)]` struct around one of the types in this list.
|
||||
//!
|
||||
//! For the above cases, it is guaranteed that one can [`mem::transmute`]
|
||||
//! from all valid values of `T` to `Option<T>` and from
|
||||
//! `Some::<T>(_)` to `T` (but transmuting `None::<T>` to `T` is undefined
|
||||
//! behaviour).
|
||||
//! It is further guaranteed that, for the cases above, one can
|
||||
//! [`mem::transmute`] from all valid values of `T` to `Option<T>` and
|
||||
//! from `Some::<T>(_)` to `T` (but transmuting `None::<T>` to `T`
|
||||
//! is undefined behaviour).
|
||||
//!
|
||||
//! # Examples
|
||||
//!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue