From efc1eedeaab00ab6a930b042e760758e4d8dba0b Mon Sep 17 00:00:00 2001 From: Isaac Turci <78173025+Zac8668@users.noreply.github.com> Date: Sat, 27 Jan 2024 20:02:26 -0300 Subject: [PATCH] Cargo fmt --- src/chunk_group.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/chunk_group.rs b/src/chunk_group.rs index 4dfe1d8..acd36d7 100644 --- a/src/chunk_group.rs +++ b/src/chunk_group.rs @@ -431,20 +431,17 @@ fn update_test() { let manager_pos = ivec2(chunk_manager.pos.x, chunk_manager.pos.y); let dt = 0; - + //Update let compute_pool = ComputeTaskPool::get(); // Create channel for sending dirty update rects - let (dirty_update_rects_send, _) = - async_channel::unbounded::(); + let (dirty_update_rects_send, _) = async_channel::unbounded::(); let dirty_update_rect_send = &dirty_update_rects_send; // Create channel for sending dirty render rect updates - let (dirty_render_rects_send, _) = - async_channel::unbounded::(); + let (dirty_render_rects_send, _) = async_channel::unbounded::(); let dirty_render_rect_send = &dirty_render_rects_send; - for (y_toff, x_toff) in rand_range(0..2) .into_iter() .cartesian_product(rand_range(0..2).into_iter())