From c51116f2f48ed92e21234e815749ca066ae09db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= <8672791+mockersf@users.noreply.github.com> Date: Wed, 22 Dec 2021 00:21:21 +0100 Subject: [PATCH] remove useless clone --- crates/bevy_render/src/render_resource/shader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_render/src/render_resource/shader.rs b/crates/bevy_render/src/render_resource/shader.rs index 4e4f6d3e4eda4..e5bcc892777c7 100644 --- a/crates/bevy_render/src/render_resource/shader.rs +++ b/crates/bevy_render/src/render_resource/shader.rs @@ -413,7 +413,7 @@ impl ShaderProcessor { if !changed { break processed; } - processing = processed.clone(); + processing = processed; }; if scopes.len() != 1 {