Fix wording for Option<T>.unwrap. Fixes #23713
This commit is contained in:
parent
f7453f940b
commit
63bbdc1590
@ -331,7 +331,7 @@ impl<T> Option<T> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the inner `T` of a `Some(T)`.
|
||||
/// Moves the value `v` out of the `Option<T>` if the content of the `Option<T>` is a `Some(v)`.
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user