Skip to content

Commit a4d4dfb

Browse files
authored
Fix incorrect vline.x docs (typst#6657)
1 parent a676c78 commit a4d4dfb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/typst-library/src/layout/grid/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ pub struct GridHLine {
548548
/// the grid's `row-gutter` option.
549549
#[elem(name = "vline", title = "Grid Vertical Line")]
550550
pub struct GridVLine {
551-
/// The column before which the horizontal line is placed (zero-indexed).
551+
/// The column before which the vertical line is placed (zero-indexed).
552552
/// If the `position` field is set to `{end}`, the line is placed after the
553553
/// column with the given index instead (see that field's docs for
554554
/// details).

crates/typst-library/src/model/table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ pub struct TableHLine {
528528
/// part of all your tables' designs.
529529
#[elem(name = "vline", title = "Table Vertical Line")]
530530
pub struct TableVLine {
531-
/// The column before which the horizontal line is placed (zero-indexed).
531+
/// The column before which the vertical line is placed (zero-indexed).
532532
/// Functions identically to the `x` field in [`grid.vline`]($grid.vline).
533533
pub x: Smart<usize>,
534534

0 commit comments

Comments
 (0)