aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-12-28 02:10:05 +0000
committermat <git@matdoes.dev>2024-12-28 02:10:05 +0000
commit615d8f9d2ac56b3244d328587243301da253eafd (patch)
tree3cf08428ddeb29bcb58dbce04fee7bbbe4d2814d /azalea/examples
parentebaf5128fbc87970b2ba1f6157e5da035ae379c8 (diff)
downloadazalea-drasl-615d8f9d2ac56b3244d328587243301da253eafd.tar.xz
bump minimum rust version and improve pathfinder docs
Diffstat (limited to 'azalea/examples')
-rw-r--r--azalea/examples/testbot/main.rs5
1 files changed, 2 insertions, 3 deletions
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();