Fix clippy::default_trait_access
This commit is contained in:
parent
6c386e90a1
commit
42ed90bc6f
19 changed files with 30 additions and 28 deletions
|
|
@ -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(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue