diff options
Diffstat (limited to 'azalea/examples/testbot/killaura.rs')
| -rw-r--r-- | azalea/examples/testbot/killaura.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |
