diff --git a/src/layout/incremental.rs b/src/layout/incremental.rs index a3051d0ff..b6a059c5e 100644 --- a/src/layout/incremental.rs +++ b/src/layout/incremental.rs @@ -162,7 +162,7 @@ impl FramesEntry { } } -/// These constraints describe regions that match them. +/// Describe regions that match them. #[derive(Debug, Copy, Clone, PartialEq)] pub struct Constraints { /// The minimum available length in the region. diff --git a/tests/typ/layout/stack.typ b/tests/typ/layout/stack.typ index 50ed1eb19..89e587c73 100644 --- a/tests/typ/layout/stack.typ +++ b/tests/typ/layout/stack.typ @@ -9,9 +9,9 @@ ) --- +// Test overflowing stack. #let rect(width, color) = rect(width: 1cm, height: 0.4cm, fill: color) -// This stack overflows. #box(height: 0.5cm, stack( rect(3cm, forest), rect(1cm, conifer),