diff options
| author | mat <git@matdoes.dev> | 2025-05-07 11:27:58 +0800 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-05-07 11:27:58 +0800 |
| commit | aa0256da102103eedc9897458dd81516962a80a3 (patch) | |
| tree | 9d01f879a7c75750acd8de0c308247c12bbeea9d /azalea/examples/testbot/killaura.rs | |
| parent | e9452032bfc95cb7ad4a8798b13648e164536cf1 (diff) | |
| download | azalea-drasl-aa0256da102103eedc9897458dd81516962a80a3.tar.xz | |
upgrade rust version and fix clippy warnings
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); } |
