Fix clippy::default_trait_access

This commit is contained in:
Héctor Ramón Jiménez 2023-09-20 04:51:08 +02:00
parent 6c386e90a1
commit 42ed90bc6f
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
19 changed files with 30 additions and 28 deletions

View file

@ -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(),
}
}
}