From 615d8f9d2ac56b3244d328587243301da253eafd Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 28 Dec 2024 02:10:05 +0000 Subject: bump minimum rust version and improve pathfinder docs --- azalea/examples/testbot/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'azalea/examples') diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs index 680363e6..0034e946 100644 --- a/azalea/examples/testbot/main.rs +++ b/azalea/examples/testbot/main.rs @@ -20,7 +20,6 @@ //! only have this on if the bot has operator permissions, otherwise it'll //! just spam the server console unnecessarily. -#![feature(async_closure)] #![feature(trivial_bounds)] mod commands; @@ -53,9 +52,9 @@ async fn main() { for username_or_email in &args.accounts { let account = if username_or_email.contains('@') { - Account::microsoft(&username_or_email).await.unwrap() + Account::microsoft(username_or_email).await.unwrap() } else { - Account::offline(&username_or_email) + Account::offline(username_or_email) }; let mut commands = CommandDispatcher::new(); -- cgit v1.2.3