mirror of
https://github.com/typst/typst
synced 2025-05-19 03:25:27 +08:00
Remove repetitive words (#3991)
Signed-off-by: hardlydearly <799511800@qq.com>
This commit is contained in:
parent
9f8cb27aef
commit
6ba94c4518
@ -2906,7 +2906,7 @@ impl<'a> GridLayouter<'a> {
|
|||||||
rowspan.max_resolved_row.map_or(true, |max_row| y > max_row)
|
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
|
// initial value of usize::MAX, so we can set it to the current
|
||||||
// region's index.
|
// region's index.
|
||||||
if rowspan.first_region > current_region {
|
if rowspan.first_region > current_region {
|
||||||
|
@ -173,7 +173,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
--- array-first-and-last ---
|
--- array-first-and-last ---
|
||||||
// The the `first` and `last` methods.
|
// The `first` and `last` methods.
|
||||||
#test((1,).first(), 1)
|
#test((1,).first(), 1)
|
||||||
#test((2,).last(), 2)
|
#test((2,).last(), 2)
|
||||||
#test((1, 2, 3).first(), 1)
|
#test((1, 2, 3).first(), 1)
|
||||||
|
@ -133,7 +133,7 @@
|
|||||||
#test-repr(oklch(rgb(1, 2, 3)), oklch(8.23%, 0.008, 240.75deg, 100%))
|
#test-repr(oklch(rgb(1, 2, 3)), oklch(8.23%, 0.008, 240.75deg, 100%))
|
||||||
|
|
||||||
--- color-spaces ---
|
--- color-spaces ---
|
||||||
// The the different color spaces
|
// The different color spaces
|
||||||
#let col = rgb(50%, 64%, 16%)
|
#let col = rgb(50%, 64%, 16%)
|
||||||
#box(square(size: 9pt, fill: col))
|
#box(square(size: 9pt, fill: col))
|
||||||
#box(square(size: 9pt, fill: rgb(col)))
|
#box(square(size: 9pt, fill: rgb(col)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user