summaryrefslogtreecommitdiff
path: root/src/layout/incremental.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/incremental.rs')
-rw-r--r--src/layout/incremental.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/incremental.rs b/src/layout/incremental.rs
index 1dd90f8e..d41fe431 100644
--- a/src/layout/incremental.rs
+++ b/src/layout/incremental.rs
@@ -21,7 +21,7 @@ pub struct LayoutCache {
impl LayoutCache {
/// Create a new, empty layout cache.
pub fn new() -> Self {
- Self { frames: HashMap::new(), age: 0 }
+ Self::default()
}
/// Clear the cache.