summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhardlydearly <167623323+hardlydearly@users.noreply.github.com>2024-04-30 20:22:59 +0800
committerGitHub <noreply@github.com>2024-04-30 12:22:59 +0000
commit6ba94c4518680adc08b42998ee97610d5adf663b (patch)
treecfbc444dceb45edbea8050a4ec6326bc19e3c992
parent9f8cb27aef3045a6f86de8bca1b0ec5a54a74901 (diff)
Remove repetitive words (#3991)
Signed-off-by: hardlydearly <799511800@qq.com>
-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)))