about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-07 22:04:40 +0000
committerbors <bors@rust-lang.org>2024-04-07 22:04:40 +0000
commitf65f84feb0c299ba926f57b998f03f61d3382464 (patch)
tree426f7c65bf2256c2a2ecc6f6a279e4b71d39c347
parent9d5cdf75aa42faaf0b58ba21a510117e8d0051a3 (diff)
parenta1d4066e5303f98841b39ade9b2bb4775a1c34fe (diff)
downloadrust-f65f84feb0c299ba926f57b998f03f61d3382464.tar.gz
rust-f65f84feb0c299ba926f57b998f03f61d3382464.zip
Auto merge of #123597 - Gbd199:patch-1, r=jhpratt
Fix typo in library/core/src/iter/traits/iterator.rs
-rw-r--r--library/core/src/iter/traits/iterator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs
index d2c9e1554b4..95c03043e3e 100644
--- a/library/core/src/iter/traits/iterator.rs
+++ b/library/core/src/iter/traits/iterator.rs
@@ -1572,7 +1572,7 @@ pub trait Iterator {
     ///
     /// The returned iterator implements [`FusedIterator`], because once `self`
     /// returns `None`, even if it returns a `Some(T)` again in the next iterations,
-    /// we cannot put it into a contigious array buffer, and thus the returned iterator
+    /// we cannot put it into a contiguous array buffer, and thus the returned iterator
     /// should be fused.
     ///
     /// [`slice::windows()`]: slice::windows