summaryrefslogtreecommitdiff
path: root/src/layout/frame.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/frame.rs')
-rw-r--r--src/layout/frame.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/frame.rs b/src/layout/frame.rs
index 2c8ba3d8..f8d901ce 100644
--- a/src/layout/frame.rs
+++ b/src/layout/frame.rs
@@ -31,6 +31,7 @@ pub enum FrameChild {
impl Frame {
/// Create a new, empty frame.
+ #[track_caller]
pub fn new(size: Size, baseline: Length) -> Self {
assert!(size.is_finite());
Self { size, baseline, children: vec![] }