From f5f44e102f0195ac9dd90a156c1824e306c8781d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Thu, 25 Nov 2021 00:41:10 +0100 Subject: [PATCH] fix clippy --- examples/tools/bevymark_pipelined.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tools/bevymark_pipelined.rs b/examples/tools/bevymark_pipelined.rs index 1019ff3cb26508..f5573fe2536cf5 100644 --- a/examples/tools/bevymark_pipelined.rs +++ b/examples/tools/bevymark_pipelined.rs @@ -82,7 +82,7 @@ fn setup( { spawn_birds( &mut commands, - &windows.get_primary().unwrap(), + windows.get_primary().unwrap(), &mut counter, initial_count, texture.clone_weak(), @@ -174,7 +174,7 @@ fn mouse_handler( let spawn_count = (BIRDS_PER_SECOND as f64 * time.delta_seconds_f64()) as u128; spawn_birds( &mut commands, - &windows.get_primary().unwrap(), + windows.get_primary().unwrap(), &mut counter, spawn_count, bird_texture.0.clone(),