diff options
author | 2025-01-16 15:49:35 +0000 | |
---|---|---|
committer | 2025-01-16 15:49:35 +0000 | |
commit | 31f53ecd69fda0043d33e46158dc37591f0a8e9d (patch) | |
tree | 04bda2e54458fa5eff089db6c2c2e2f397d25db6 /examples/the_matrix | |
parent | 2b920235b528590694930da542e77db973d82be7 (diff) | |
download | iced-31f53ecd69fda0043d33e46158dc37591f0a8e9d.tar.gz iced-31f53ecd69fda0043d33e46158dc37591f0a8e9d.tar.bz2 iced-31f53ecd69fda0043d33e46158dc37591f0a8e9d.zip |
Remove a useless cast
Diffstat (limited to 'examples/the_matrix')
-rw-r--r-- | examples/the_matrix/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/the_matrix/src/main.rs b/examples/the_matrix/src/main.rs index 0ed52dda..c6b20ece 100644 --- a/examples/the_matrix/src/main.rs +++ b/examples/the_matrix/src/main.rs @@ -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> { |