Fix wording for Option<T>.unwrap. Fixes #23713
This commit is contained in:
parent
f7453f940b
commit
63bbdc1590
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue