Skip to content

Commit fb4201f

Browse files
committed
auto merge of #16579 : steveklabnik/rust/gh9099, r=pcwalton
Fixes #9099
2 parents e8ad6a8 + 46f27c9 commit fb4201f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ impl<T> Option<T> {
244244
}
245245
}
246246

247-
/// Moves a value out of an option type and returns it, consuming the `Option`.
247+
/// Returns the inner `T` of a `Some(T)`.
248248
///
249249
/// # Failure
250250
///

0 commit comments

Comments
 (0)