From b2123ffa41e696233d763777669bdedb1d7c8426 Mon Sep 17 00:00:00 2001 From: Alice Cecile Date: Thu, 2 May 2024 09:40:45 -0400 Subject: [PATCH] Fix CI error on new color grading example (#13180) # Objective Fixes https://github.com/bevyengine/bevy/issues/13179 ## Solution Obey clippy. ## Commentary I'm really confused why CI didn't fail on the initial PR merge here. Co-authored-by: Alice Cecile --- examples/3d/color_grading.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/3d/color_grading.rs b/examples/3d/color_grading.rs index 7b0b9894a1..28420c6a44 100644 --- a/examples/3d/color_grading.rs +++ b/examples/3d/color_grading.rs @@ -639,7 +639,7 @@ fn update_ui_state( { if let Some(ref value_label) = value_label { for section in &mut text.sections { - section.value = value_label.clone(); + section.value.clone_from(value_label); } } }