summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin <mhaug@live.de>2021-06-27 18:30:25 +0200
committerMartin Haug <mhaug@live.de>2021-06-27 18:58:28 +0200
commit6f518c172805b6ac067a692eb8971c7ec1e50608 (patch)
treebe1dfb1bfae7cd6ca598863c1c4575ccaefc5b03
parent9bd8b7ddac046f581dc750e148147901d08cb0f4 (diff)
Adjust comments
Co-authored-by: Laurenz <laurmaedje@gmail.com> Update tests/typ/layout/stack.typ Co-authored-by: Laurenz <laurmaedje@gmail.com>
-rw-r--r--src/layout/incremental.rs2
-rw-r--r--tests/typ/layout/stack.typ2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/incremental.rs b/src/layout/incremental.rs
index a3051d0f..b6a059c5 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 50ed1eb1..89e587c7 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),