Remove a useless cast
This commit is contained in:
parent
2b920235b5
commit
31f53ecd69
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ impl TheMatrix {
|
|||
}
|
||||
|
||||
fn view(&self) -> Element<Message> {
|
||||
canvas(self as &Self).width(Fill).height(Fill).into()
|
||||
canvas(self).width(Fill).height(Fill).into()
|
||||
}
|
||||
|
||||
fn subscription(&self) -> Subscription<Message> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue