Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac8668 committed Jan 27, 2024
1 parent cab6033 commit efc1eed
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/chunk_group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<DeferredDirtyRectUpdate>();
let (dirty_update_rects_send, _) = async_channel::unbounded::<DeferredDirtyRectUpdate>();
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::<DeferredDirtyRectUpdate>();
let (dirty_render_rects_send, _) = async_channel::unbounded::<DeferredDirtyRectUpdate>();
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())
Expand Down

0 comments on commit efc1eed

Please sign in to comment.