about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGabriel Dolberg <gbd199@gmail.com>2024-04-07 18:55:28 +0300
committerGitHub <noreply@github.com>2024-04-07 18:55:28 +0300
commita1d4066e5303f98841b39ade9b2bb4775a1c34fe (patch)
treed5d769c0f5c77edf88349349dc26c4517f35ea51
parent4e431fad67b46c480f1833119cd368fa33df95f7 (diff)
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