Skip to content

Commit a9e7d57

Browse files
Update src/libcore/option.rs
Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
1 parent 4588c26 commit a9e7d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1373,7 +1373,7 @@ impl<T> From<T> for Option<T> {
13731373

13741374
#[stable(feature = "option_ref_from_ref_option", since = "1.30.0")]
13751375
impl<'a, T> From<&'a Option<T>> for Option<&'a T> {
1376-
/// Converts from &Option<T> to Option<&T>
1376+
/// Converts from `&Option<T>` to `Option<&T>`.
13771377
///
13781378
/// # Examples
13791379
/// Converts an `Option<`[`String`]`>` into an `Option<`[`usize`]`>`, preserving the original.

0 commit comments

Comments
 (0)