From e689d4601546675bf486afa0960881eb60844ba3 Mon Sep 17 00:00:00 2001 From: rmsthebest <11652273+rmsthebest@users.noreply.github.com> Date: Sat, 24 Feb 2024 21:57:16 +0100 Subject: [PATCH] remove unnecessary mut in query in ui_texture_slice example (#12101) # Objective Keep the examples as correct as possible: Remove mutability from a query that is unused ui_texture_slice ## Solution removed "mut" --- --- examples/ui/ui_texture_slice.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ui/ui_texture_slice.rs b/examples/ui/ui_texture_slice.rs index c9278e6cf1..d486d79a16 100644 --- a/examples/ui/ui_texture_slice.rs +++ b/examples/ui/ui_texture_slice.rs @@ -14,10 +14,10 @@ fn main() { } fn button_system( - mut interaction_query: Query<(&Interaction, &Children), (Changed, With