summaryrefslogtreecommitdiff
path: root/crates/typst-layout/src/grid/layouter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-layout/src/grid/layouter.rs')
-rw-r--r--crates/typst-layout/src/grid/layouter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-layout/src/grid/layouter.rs b/crates/typst-layout/src/grid/layouter.rs
index fd846b6e..8e810e32 100644
--- a/crates/typst-layout/src/grid/layouter.rs
+++ b/crates/typst-layout/src/grid/layouter.rs
@@ -232,7 +232,7 @@ pub(super) enum Row {
impl Row {
/// Returns the `y` index of this row.
- fn index(&self) -> usize {
+ pub(super) fn index(&self) -> usize {
match self {
Self::Frame(_, y, _) => *y,
Self::Fr(_, y, _) => *y,