From aa0256da102103eedc9897458dd81516962a80a3 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 7 May 2025 11:27:58 +0800 Subject: upgrade rust version and fix clippy warnings --- azalea/examples/testbot/killaura.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea/examples/testbot/killaura.rs') diff --git a/azalea/examples/testbot/killaura.rs b/azalea/examples/testbot/killaura.rs index b47ac0df..5458ea4e 100644 --- a/azalea/examples/testbot/killaura.rs +++ b/azalea/examples/testbot/killaura.rs @@ -39,8 +39,8 @@ pub fn tick(bot: Client, state: State) -> anyhow::Result<()> { } } if let Some(nearest_entity) = nearest_entity { - println!("attacking {:?}", nearest_entity); - println!("distance {:?}", nearest_distance); + println!("attacking {nearest_entity:?}"); + println!("distance {nearest_distance:?}"); bot.attack(nearest_entity); } -- cgit v1.2.3