summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst/src/layout/grid/layout.rs2
-rw-r--r--tests/suite/foundations/array.typ2
-rw-r--r--tests/suite/visualize/color.typ2
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/typst/src/layout/grid/layout.rs b/crates/typst/src/layout/grid/layout.rs
index 398ad1bd..0ada8861 100644
--- a/crates/typst/src/layout/grid/layout.rs
+++ b/crates/typst/src/layout/grid/layout.rs
@@ -2906,7 +2906,7 @@ impl<'a> GridLayouter<'a> {
rowspan.max_resolved_row.map_or(true, |max_row| y > max_row)
})
{
- // If the first region wasn't defined yet, it will have the the
+ // If the first region wasn't defined yet, it will have the
// initial value of usize::MAX, so we can set it to the current
// region's index.
if rowspan.first_region > current_region {
diff --git a/tests/suite/foundations/array.typ b/tests/suite/foundations/array.typ
index 336c5a67..7b4c574a 100644
--- a/tests/suite/foundations/array.typ
+++ b/tests/suite/foundations/array.typ
@@ -173,7 +173,7 @@
}
--- array-first-and-last ---
-// The the `first` and `last` methods.
+// The `first` and `last` methods.
#test((1,).first(), 1)
#test((2,).last(), 2)
#test((1, 2, 3).first(), 1)
diff --git a/tests/suite/visualize/color.typ b/tests/suite/visualize/color.typ
index 6cf887a4..33259461 100644
--- a/tests/suite/visualize/color.typ
+++ b/tests/suite/visualize/color.typ
@@ -133,7 +133,7 @@
#test-repr(oklch(rgb(1, 2, 3)), oklch(8.23%, 0.008, 240.75deg, 100%))
--- color-spaces ---
-// The the different color spaces
+// The different color spaces
#let col = rgb(50%, 64%, 16%)
#box(square(size: 9pt, fill: col))
#box(square(size: 9pt, fill: rgb(col)))