From 8a1e1b7bb93373e85432ce4211b6ede4eae79409 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 20 Apr 2024 04:03:03 +0000 Subject: clippy --- azalea/benches/physics.rs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'azalea') diff --git a/azalea/benches/physics.rs b/azalea/benches/physics.rs index 0d4a3f2f..146b3018 100644 --- a/azalea/benches/physics.rs +++ b/azalea/benches/physics.rs @@ -1,20 +1,10 @@ -use std::{hint::black_box, sync::Arc, time::Duration}; - use azalea::{ - pathfinder::{ - astar::{self, a_star}, - goals::{BlockPosGoal, Goal}, - mining::MiningCache, - simulation::{SimulatedPlayerBundle, Simulation, SimulationSet}, - world::CachedWorld, - }, - BlockPos, Vec3, + pathfinder::simulation::{SimulatedPlayerBundle, SimulationSet}, + Vec3, }; use azalea_core::position::{ChunkBlockPos, ChunkPos}; -use azalea_inventory::Menu; use azalea_world::{Chunk, ChunkStorage, PartialChunkStorage}; use criterion::{criterion_group, criterion_main, Bencher, Criterion}; -use parking_lot::RwLock; #[allow(dead_code)] fn generate_world(partial_chunks: &mut PartialChunkStorage, size: u32) -> ChunkStorage { -- cgit v1.2.3