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 4588c26 commit a9e7d57Copy full SHA for a9e7d57
src/libcore/option.rs
@@ -1373,7 +1373,7 @@ impl<T> From<T> for Option<T> {
1373
1374
#[stable(feature = "option_ref_from_ref_option", since = "1.30.0")]
1375
impl<'a, T> From<&'a Option<T>> for Option<&'a T> {
1376
- /// Converts from &Option<T> to Option<&T>
+ /// Converts from `&Option<T>` to `Option<&T>`.
1377
///
1378
/// # Examples
1379
/// Converts an `Option<`[`String`]`>` into an `Option<`[`usize`]`>`, preserving the original.
0 commit comments