mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
fix missing Panics tag and missing period
This commit is contained in:
parent
8eee0efd1f
commit
af4414bd30
@ -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…
Reference in New Issue
Block a user