Merge pull request #2731 from will-lynas/remove-cast

Remove a cast
This commit is contained in:
Héctor 2025-01-16 18:11:41 +00:00 committed by GitHub
commit dcd4abd5af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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> {