about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorWaffle <waffle.lapkin@gmail.com>2020-03-19 22:19:37 +0300
committerWaffle <waffle.lapkin@gmail.com>2020-03-19 22:19:37 +0300
commit121bffce8106a73b90eb4f68da42d4d7ceca5375 (patch)
tree149f795fa2a5ee4cfec3ee0c8c161b0f6aff8813 /src/libcore
parentd36d3fa5a6441f13c3888b6895cc7046740b1e3d (diff)
downloadrust-121bffce8106a73b90eb4f68da42d4d7ceca5375.tar.gz
rust-121bffce8106a73b90eb4f68da42d4d7ceca5375.zip
make "other" in docs of `Option::{zip,zip_with}` monofont
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/option.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs
index 4bec3ec9f6b..3aab8b1b333 100644
--- a/src/libcore/option.rs
+++ b/src/libcore/option.rs
@@ -916,7 +916,7 @@ impl<T> Option<T> {
 
     /// Zips `self` with another `Option`.
     ///
-    /// 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))`.
     /// Otherwise, `None` is returned.
     ///
     /// # Examples
@@ -937,7 +937,7 @@ impl<T> Option<T> {
 
     /// Zips `self` and another `Option` with function `f`.
     ///
-    /// 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))`.
     /// Otherwise, `None` is returned.
     ///
     /// # Examples