summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2025-01-16 18:11:41 +0000
committerLibravatar GitHub <noreply@github.com>2025-01-16 18:11:41 +0000
commitdcd4abd5af8f184400311a6c14b2ce0b902143ec (patch)
tree04bda2e54458fa5eff089db6c2c2e2f397d25db6
parent2b920235b528590694930da542e77db973d82be7 (diff)
parent31f53ecd69fda0043d33e46158dc37591f0a8e9d (diff)
downloadiced-dcd4abd5af8f184400311a6c14b2ce0b902143ec.tar.gz
iced-dcd4abd5af8f184400311a6c14b2ce0b902143ec.tar.bz2
iced-dcd4abd5af8f184400311a6c14b2ce0b902143ec.zip
Merge pull request #2731 from will-lynas/remove-cast
Remove a cast
-rw-r--r--examples/the_matrix/src/main.rs2
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> {