diff options
author | 2023-09-20 04:51:08 +0200 | |
---|---|---|
committer | 2023-09-20 04:51:08 +0200 | |
commit | 42ed90bc6f92b2085d193e7f143430b8d3847c21 (patch) | |
tree | 708166baa85036ab80ee96f7379a8767b7691da6 /examples/clock | |
parent | 6c386e90a12fd26da12541da3f086dddb7211c0c (diff) | |
download | iced-42ed90bc6f92b2085d193e7f143430b8d3847c21.tar.gz iced-42ed90bc6f92b2085d193e7f143430b8d3847c21.tar.bz2 iced-42ed90bc6f92b2085d193e7f143430b8d3847c21.zip |
Fix `clippy::default_trait_access`
Diffstat (limited to 'examples/clock')
-rw-r--r-- | examples/clock/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs index eec70dde..920aa0c5 100644 --- a/examples/clock/src/main.rs +++ b/examples/clock/src/main.rs @@ -35,7 +35,7 @@ impl Application for Clock { Clock { now: time::OffsetDateTime::now_local() .unwrap_or_else(|_| time::OffsetDateTime::now_utc()), - clock: Default::default(), + clock: Cache::default(), }, Command::none(), ) |