We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d315ab5 commit 3456d50Copy full SHA for 3456d50
core/src/option.rs
@@ -943,7 +943,7 @@ impl<T> Option<T> {
943
// Transforming contained values
944
/////////////////////////////////////////////////////////////////////////
945
946
- /// Maps an `Option<T>` to `Option<U>` by applying a function to a contained value (if `Some`) or return `None` (if `None`).
+ /// Maps an `Option<T>` to `Option<U>` by applying a function to a contained value (if `Some`) or returns `None` (if `None`).
947
///
948
/// # Examples
949
0 commit comments