fix missing Panics tag and missing period
This commit is contained in:
parent
8eee0efd1f
commit
af4414bd30
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
///
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue