]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #93404 - rust-lang:scottmcm-patch-1, r=wesleywiser
authorMatthias Krüger <matthias.krueger@famsik.de>
Fri, 28 Jan 2022 14:20:30 +0000 (15:20 +0100)
committerGitHub <noreply@github.com>
Fri, 28 Jan 2022 14:20:30 +0000 (15:20 +0100)
Fix a typo from #92899

Just happened to notice this in passing

library/core/src/iter/traits/iterator.rs

index 65cadcb6c5a4f2aa79392907647875cf7bfb7568..a8fe5f59bae0148794c333f14e48b6588d216b49 100644 (file)
@@ -515,7 +515,7 @@ fn chain<U>(self, other: U) -> Chain<Self, U::IntoIter>
     /// assert_eq!((2, 'o'), zipper[2]);
     /// ```
     ///
-    /// If both iterators have roughly equivalent syntax, it may me more readable to use [`zip`]:
+    /// If both iterators have roughly equivalent syntax, it may be more readable to use [`zip`]:
     ///
     /// ```
     /// use std::iter::zip;