diff options
Diffstat (limited to 'azalea/examples/testbot/commands')
| -rw-r--r-- | azalea/examples/testbot/commands/debug.rs | 2 | ||||
| -rw-r--r-- | azalea/examples/testbot/commands/movement.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/azalea/examples/testbot/commands/debug.rs b/azalea/examples/testbot/commands/debug.rs index 3428d117..31b0ff91 100644 --- a/azalea/examples/testbot/commands/debug.rs +++ b/azalea/examples/testbot/commands/debug.rs @@ -226,7 +226,7 @@ pub fn register(commands: &mut CommandDispatcher<Mutex<CommandSource>>) { let instance_container = ecs.resource::<InstanceContainer>(); for (instance_name, instance) in &instance_container.instances { - writeln!(report, "- Name: {}", instance_name).unwrap(); + writeln!(report, "- Name: {instance_name}").unwrap(); writeln!(report, "- Reference count: {}", instance.strong_count()) .unwrap(); if let Some(instance) = instance.upgrade() { diff --git a/azalea/examples/testbot/commands/movement.rs b/azalea/examples/testbot/commands/movement.rs index 1596ce89..36ff42ff 100644 --- a/azalea/examples/testbot/commands/movement.rs +++ b/azalea/examples/testbot/commands/movement.rs @@ -116,7 +116,7 @@ pub fn register(commands: &mut CommandDispatcher<Mutex<CommandSource>>) { get_integer(ctx, "y").unwrap(), get_integer(ctx, "z").unwrap(), ); - println!("{:?}", pos); + println!("{pos:?}"); let source = ctx.source.lock(); source.bot.look_at(pos.center()); 1 |
