From 6ba94c4518680adc08b42998ee97610d5adf663b Mon Sep 17 00:00:00 2001 From: hardlydearly <167623323+hardlydearly@users.noreply.github.com> Date: Tue, 30 Apr 2024 20:22:59 +0800 Subject: [PATCH] Remove repetitive words (#3991) Signed-off-by: hardlydearly <799511800@qq.com> --- crates/typst/src/layout/grid/layout.rs | 2 +- tests/suite/foundations/array.typ | 2 +- tests/suite/visualize/color.typ | 2 +- 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 398ad1bdc..0ada88619 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 336c5a67b..7b4c574ab 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 6cf887a42..332594615 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)))