Skip to content

Commit

Permalink
Grammar tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltratt committed Aug 17, 2020
1 parent 68209c3 commit 9bac577
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library/core/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
Expand Down

0 comments on commit 9bac577

Please sign in to comment.