Fix clippy lint in the_matrix example
This commit is contained in:
parent
3c7b43d031
commit
cfe4ddb866
1 changed files with 1 additions and 6 deletions
|
|
@ -15,6 +15,7 @@ pub fn main() -> iced::Result {
|
|||
.run()
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
struct TheMatrix {
|
||||
tick: usize,
|
||||
}
|
||||
|
|
@ -45,12 +46,6 @@ impl TheMatrix {
|
|||
}
|
||||
}
|
||||
|
||||
impl Default for TheMatrix {
|
||||
fn default() -> Self {
|
||||
Self { tick: 0 }
|
||||
}
|
||||
}
|
||||
|
||||
impl<Message> canvas::Program<Message> for TheMatrix {
|
||||
type State = RefCell<Vec<canvas::Cache>>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue