We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Option::{zip,zip_with}
1 parent d36d3fa commit 121bffcCopy full SHA for 121bffc
src/libcore/option.rs
@@ -916,7 +916,7 @@ impl<T> Option<T> {
916
917
/// Zips `self` with another `Option`.
918
///
919
- /// If `self` is `Some(s)` and other is `Some(o)`, this method returns `Some((s, o))`.
+ /// If `self` is `Some(s)` and `other` is `Some(o)`, this method returns `Some((s, o))`.
920
/// Otherwise, `None` is returned.
921
922
/// # Examples
@@ -937,7 +937,7 @@ impl<T> Option<T> {
937
938
/// Zips `self` and another `Option` with function `f`.
939
940
- /// If `self` is `Some(s)` and other is `Some(o)`, this method returns `Some(f(s, o))`.
+ /// If `self` is `Some(s)` and `other` is `Some(o)`, this method returns `Some(f(s, o))`.
941
942
943
0 commit comments