Skip to content

Commit b384692

Browse files
committed
nit fixed
1 parent c2b65ff commit b384692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/option.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ impl<T> Option<T> {
943943
// Transforming contained values
944944
/////////////////////////////////////////////////////////////////////////
945945

946-
/// Maps an `Option<T>` to `Option<U>` by applying a function to a contained value (if `Some`) or return `None` (if `None`).
946+
/// Maps an `Option<T>` to `Option<U>` by applying a function to a contained value (if `Some`) or returns `None` (if `None`).
947947
///
948948
/// # Examples
949949
///

0 commit comments

Comments
 (0)