summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-06-13 14:06:41 +0200
committerLaurenz <laurmaedje@gmail.com>2022-06-13 14:07:48 +0200
commit2fe549c1ec40681829b59f95a5a2f5db335ec3af (patch)
treee8ba3877342e62f458d4668acf3f2f721d534986 /src/model
parent7660978ee5d842648e244e2972273264d94ca37b (diff)
Fix inline math formula frame size
Diffstat (limited to 'src/model')
-rw-r--r--src/model/layout.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/model/layout.rs b/src/model/layout.rs
index 22797b48..4fa3fe20 100644
--- a/src/model/layout.rs
+++ b/src/model/layout.rs
@@ -19,10 +19,9 @@ use crate::Context;
/// A node that can be layouted into a sequence of regions.
///
-/// Layout return one frame per used region alongside constraints that define
-/// whether the result is reusable in other regions.
+/// Layouting return one frame per used region.
pub trait Layout: 'static {
- /// Layout this node into the given regions, producing constrained frames.
+ /// Layout this node into the given regions, producing frames.
fn layout(
&self,
ctx: &mut Context,