summaryrefslogtreecommitdiffstats
path: root/examples/lazy
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 04:51:08 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 04:51:08 +0200
commit42ed90bc6f92b2085d193e7f143430b8d3847c21 (patch)
tree708166baa85036ab80ee96f7379a8767b7691da6 /examples/lazy
parent6c386e90a12fd26da12541da3f086dddb7211c0c (diff)
downloadiced-42ed90bc6f92b2085d193e7f143430b8d3847c21.tar.gz
iced-42ed90bc6f92b2085d193e7f143430b8d3847c21.tar.bz2
iced-42ed90bc6f92b2085d193e7f143430b8d3847c21.zip
Fix `clippy::default_trait_access`
Diffstat (limited to 'examples/lazy')
-rw-r--r--examples/lazy/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/lazy/src/main.rs b/examples/lazy/src/main.rs
index c6baa6a1..9bf17c56 100644
--- a/examples/lazy/src/main.rs
+++ b/examples/lazy/src/main.rs
@@ -27,7 +27,7 @@ impl Default for App {
.into_iter()
.map(From::from)
.collect(),
- input: Default::default(),
+ input: String::default(),
order: Order::Ascending,
}
}
@@ -107,7 +107,7 @@ impl From<&str> for Item {
fn from(s: &str) -> Self {
Self {
name: s.to_owned(),
- color: Default::default(),
+ color: Color::default(),
}
}
}