diff options
| author | Laurence Tratt <laurie@tratt.net> | 2020-08-17 09:34:15 +0100 |
|---|---|---|
| committer | Laurence Tratt <laurie@tratt.net> | 2020-08-17 09:34:15 +0100 |
| commit | 9bac5774d7b452b2227c9fb77a4c6de3f432ee55 (patch) | |
| tree | e06fb0ea70c7088ebf5b561a07f58c022497b470 | |
| parent | 68209c3fe4e0f5c3758f18e98efc175af31c2e51 (diff) | |
| download | rust-9bac5774d7b452b2227c9fb77a4c6de3f432ee55.tar.gz rust-9bac5774d7b452b2227c9fb77a4c6de3f432ee55.zip | |
Grammar tweak.
| -rw-r--r-- | library/core/src/option.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/core/src/option.rs b/library/core/src/option.rs index 9789bce82dd..2f588e79bda 100644 --- a/library/core/src/option.rs +++ b/library/core/src/option.rs @@ -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 //! |
