Change notation.
Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
f3d7196cae
commit
8cb8955d57
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@
|
|||
//! * `#[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>` but only from
|
||||
//! `Option::Some(T)` to `T` (i.e. transmuting `None` to `<T>` is undefined
|
||||
//! 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