We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2b65ff commit b384692Copy full SHA for b384692
library/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