From 6069f95019fa8f534d1367d848b7a1b3264bd1a0 Mon Sep 17 00:00:00 2001 From: Alice Cecile Date: Thu, 2 May 2024 09:19:30 -0400 Subject: [PATCH] Implement suggestion from CI --- 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); } } }