aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples/steal.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2025-12-12 01:29:49 -0600
committerGitHub <noreply@github.com>2025-12-12 01:29:49 -0600
commitf4a3c53eee7d29bade0c074f402c4a45aa98eca8 (patch)
treef25ec1d1390c5e96aba858141206a05812135b95 /azalea/examples/steal.rs
parent7f761df3e7b72ce75be21ab9b3a533d0a5a938a5 (diff)
downloadazalea-drasl-f4a3c53eee7d29bade0c074f402c4a45aa98eca8.tar.xz
Delete `StartError` and `JoinError` (#296)
* delete StartError and JoinError * update changelog
Diffstat (limited to 'azalea/examples/steal.rs')
-rw-r--r--azalea/examples/steal.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/azalea/examples/steal.rs b/azalea/examples/steal.rs
index c928545f..99254d51 100644
--- a/azalea/examples/steal.rs
+++ b/azalea/examples/steal.rs
@@ -8,7 +8,7 @@ use azalea_registry::builtin::{BlockKind, ItemKind};
use parking_lot::Mutex;
#[tokio::main]
-async fn main() {
+async fn main() -> AppExit {
let account = Account::offline("bot");
// or let bot = Account::microsoft("email").await.unwrap();
@@ -16,7 +16,6 @@ async fn main() {
.set_handler(handle)
.start(account, "localhost")
.await
- .unwrap();
}
#[derive(Default, Clone, Component)]