Clippy tweaks for latest PR and multiplayer fixes

This commit is contained in:
NG (Graham) committed 2026-01-15 18:56:30 -05:00
1 parent a48f9dcfe9
commit f2896509ba
6 files changed
+19 -18

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ impl CubeLocationsParser {
let target_x = point.0 as f32;
let target_y = point.1 as f32;
let target_z = point.2 as f32;
let mut relevant_cubes: Vec<(f32, CubeLocationInfo)> = cubes.into_iter()
let mut relevant_cubes: Vec<(f32, CubeLocationInfo)> = cubes.iter()
.filter(|x| x.id == locations_of_id)
.map(|cube| {
let distance = (