Skip to content

Commit

Permalink
remove unnecessary drop
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed Feb 3, 2023
1 parent 996878e commit dcbb9fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/valence_new/src/unit_test/example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ mod tests {
app.add_plugin(ServerPlugin::new(()));
let server = app.world.resource::<Server>();
let tick = server.current_tick();
drop(server);
app.update();
let server = app.world.resource::<Server>();
assert_eq!(server.current_tick(), tick + 1);
Expand Down

0 comments on commit dcbb9fb

Please sign in to comment.