rollup merge of #23791: jviereck/fix-23713

Fixes #23713.
This commit is contained in:
Alex Crichton 2015-03-27 12:44:10 -07:00
commit 8ec3695a67

View file

@ -333,7 +333,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
///