Skip to content

Commit 8ec3695

Browse files
committed
rollup merge of #23791: jviereck/fix-23713
Fixes #23713.
2 parents df50510 + 63bbdc1 commit 8ec3695

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
@@ -333,7 +333,7 @@ impl<T> Option<T> {
333333
}
334334
}
335335

336-
/// Returns the inner `T` of a `Some(T)`.
336+
/// Moves the value `v` out of the `Option<T>` if the content of the `Option<T>` is a `Some(v)`.
337337
///
338338
/// # Panics
339339
///

0 commit comments

Comments
 (0)