fix missing Panics tag and missing period

This commit is contained in:
Letheed 2015-12-10 14:20:32 +01:00
parent 8eee0efd1f
commit af4414bd30
2 changed files with 3 additions and 1 deletions

View File

@ -309,7 +309,7 @@ impl<T> Option<T> {
// Getting to contained values
/////////////////////////////////////////////////////////////////////////
/// Unwraps an option, yielding the content of a `Some`
/// Unwraps an option, yielding the content of a `Some`.
///
/// # Panics
///

View File

@ -744,6 +744,8 @@ impl<T, E: fmt::Debug> Result<T, E> {
/// Unwraps a result, yielding the content of an `Ok`.
///
/// # Panics
///
/// Panics if the value is an `Err`, with a panic message including the
/// passed message, and the content of the `Err`.
///