aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/examples')
-rw-r--r--azalea/examples/nearest_entity.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/azalea/examples/nearest_entity.rs b/azalea/examples/nearest_entity.rs
index 9ac6331b..22a8b863 100644
--- a/azalea/examples/nearest_entity.rs
+++ b/azalea/examples/nearest_entity.rs
@@ -64,10 +64,7 @@ fn log_nearby_item_drops(
let item_drop = item_drops.get(entity).unwrap();
let kind = item_drop.kind();
- println!(
- "Bot {:?} can see an {:?} {:.1} meters away.",
- bot_id, kind, distance
- );
+ println!("Bot {bot_id:?} can see an {kind:?} {distance:.1} meters away.");
}
}
}