aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples/echo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/examples/echo.rs')
-rw-r--r--azalea/examples/echo.rs3
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)]