summaryrefslogtreecommitdiffstats
path: root/examples/clock/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/clock/src/main.rs')
-rw-r--r--examples/clock/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs
index 88f8322c..a85a964c 100644
--- a/examples/clock/src/main.rs
+++ b/examples/clock/src/main.rs
@@ -29,7 +29,7 @@ impl Application for Clock {
(
Clock {
now: chrono::Local::now().into(),
- clock: canvas::layer::Cache::new(),
+ clock: Default::default(),
},
Command::none(),
)