diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/option.rs | 4 |
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 |
