From 31f53ecd69fda0043d33e46158dc37591f0a8e9d Mon Sep 17 00:00:00 2001 From: Will Lynas <43895423+will-lynas@users.noreply.github.com> Date: Thu, 16 Jan 2025 15:49:35 +0000 Subject: Remove a useless cast --- examples/the_matrix/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/the_matrix') 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 { - canvas(self as &Self).width(Fill).height(Fill).into() + canvas(self).width(Fill).height(Fill).into() } fn subscription(&self) -> Subscription { -- cgit