We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d7196 commit 8cb8955Copy full SHA for 8cb8955
library/core/src/option.rs
@@ -84,8 +84,8 @@
84
//! * `#[repr(transparent)]` struct around one of the types in this list.
85
//!
86
//! For the above cases, it is guaranteed that one can [`mem::transmute`]
87
-//! from all valid values of `T` to `Option<T>` but only from
88
-//! `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
89
//! behaviour).
90
91
//! # Examples
0 commit comments