From 6f518c172805b6ac067a692eb8971c7ec1e50608 Mon Sep 17 00:00:00 2001 From: Martin Date: Sun, 27 Jun 2021 18:30:25 +0200 Subject: [PATCH] Adjust comments Co-authored-by: Laurenz Update tests/typ/layout/stack.typ Co-authored-by: Laurenz --- src/layout/incremental.rs | 2 +- tests/typ/layout/stack.typ | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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),