Fix wording for Option<T>.unwrap. Fixes #23713

This commit is contained in:
Julian Viereck 2015-03-27 20:14:09 +01:00
parent f7453f940b
commit 63bbdc1590

View File

@ -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
///