Update src/libcore/option.rs

Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
This commit is contained in:
Faris Sufyan 2020-05-13 21:13:17 +08:00 committed by GitHub
parent adc2bf0cfe
commit f445a8286e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1399,7 +1399,7 @@ impl<'a, T> From<&'a Option<T>> for Option<&'a T> {
#[stable(feature = "option_ref_from_ref_option", since = "1.30.0")]
impl<'a, T> From<&'a mut Option<T>> for Option<&'a mut T> {
/// Converts from &mut Option<T> to Option<&mut T>
/// Converts from `&mut Option<T>` to `Option<&mut T>`
///
/// # Examples
///