Skip to content

Commit 121bffc

Browse files
committed
make "other" in docs of Option::{zip,zip_with} monofont
1 parent d36d3fa commit 121bffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/option.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ impl<T> Option<T> {
916916

917917
/// Zips `self` with another `Option`.
918918
///
919-
/// If `self` is `Some(s)` and other is `Some(o)`, this method returns `Some((s, o))`.
919+
/// If `self` is `Some(s)` and `other` is `Some(o)`, this method returns `Some((s, o))`.
920920
/// Otherwise, `None` is returned.
921921
///
922922
/// # Examples
@@ -937,7 +937,7 @@ impl<T> Option<T> {
937937

938938
/// Zips `self` and another `Option` with function `f`.
939939
///
940-
/// If `self` is `Some(s)` and other is `Some(o)`, this method returns `Some(f(s, o))`.
940+
/// If `self` is `Some(s)` and `other` is `Some(o)`, this method returns `Some(f(s, o))`.
941941
/// Otherwise, `None` is returned.
942942
///
943943
/// # Examples

0 commit comments

Comments
 (0)