summaryrefslogtreecommitdiff
path: root/library/src/layout/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-23 00:33:22 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-23 00:34:17 +0100
commit1a9bcaccec411cbc50a5d1ff64f266afaa63a29c (patch)
tree3d63a07659ca159c72d87b465699049301628c89 /library/src/layout/mod.rs
parentfd787317a858f0f6d9a3ac551d3fecb93286a0af (diff)
Fix typos
Diffstat (limited to 'library/src/layout/mod.rs')
-rw-r--r--library/src/layout/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/layout/mod.rs b/library/src/layout/mod.rs
index 67b53e1b..91822be8 100644
--- a/library/src/layout/mod.rs
+++ b/library/src/layout/mod.rs
@@ -227,7 +227,7 @@ impl<'a> Regions<'a> {
/// An iterator that returns the sizes of the first and all following
/// regions, equivalently to what would be produced by calling
/// [`next()`](Self::next) repeatedly until all regions are exhausted.
- /// This iterater may be infinite.
+ /// This iterator may be infinite.
pub fn iter(&self) -> impl Iterator<Item = Size> + '_ {
let first = std::iter::once(self.first);
let backlog = self.backlog.iter();