summaryrefslogtreecommitdiff
path: root/src/model/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/layout.rs')
-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,