Adjust comments

Co-authored-by: Laurenz <laurmaedje@gmail.com>

Update tests/typ/layout/stack.typ

Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
Martin 2021-06-27 18:30:25 +02:00 committed by Martin Haug
parent 9bd8b7ddac
commit 6f518c1728
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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),