Skip to content

Commit

Permalink
Change notation.
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Jung <[email protected]>
  • Loading branch information
ltratt and RalfJung authored Aug 12, 2020
1 parent f3d7196 commit 8cb8955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8cb8955

Please sign in to comment.