diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-12-12 01:29:49 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-12 01:29:49 -0600 |
| commit | f4a3c53eee7d29bade0c074f402c4a45aa98eca8 (patch) | |
| tree | f25ec1d1390c5e96aba858141206a05812135b95 /azalea/examples/echo.rs | |
| parent | 7f761df3e7b72ce75be21ab9b3a533d0a5a938a5 (diff) | |
| download | azalea-drasl-f4a3c53eee7d29bade0c074f402c4a45aa98eca8.tar.xz | |
Delete `StartError` and `JoinError` (#296)
* delete StartError and JoinError
* update changelog
Diffstat (limited to 'azalea/examples/echo.rs')
| -rw-r--r-- | azalea/examples/echo.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/azalea/examples/echo.rs b/azalea/examples/echo.rs index a2219008..ed013a66 100644 --- a/azalea/examples/echo.rs +++ b/azalea/examples/echo.rs @@ -3,7 +3,7 @@ use azalea::prelude::*; #[tokio::main] -async fn main() { +async fn main() -> AppExit { let account = Account::offline("bot"); // or let account = Account::microsoft("email").await.unwrap(); @@ -11,7 +11,6 @@ async fn main() { .set_handler(handle) .start(account, "localhost") .await - .unwrap(); } #[derive(Default, Clone, Component)] |
