diff options
Diffstat (limited to 'azalea/README.md')
| -rw-r--r-- | azalea/README.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/azalea/README.md b/azalea/README.md index 3055b0c0..6b5c2601 100644 --- a/azalea/README.md +++ b/azalea/README.md @@ -43,7 +43,7 @@ use azalea::prelude::*; use parking_lot::Mutex; #[tokio::main] -async fn main() { +async fn main() -> AppExit { let account = Account::offline("bot"); // or Account::microsoft("example@example.com").await.unwrap(); @@ -51,7 +51,6 @@ async fn main() { .set_handler(handle) .start(account, "localhost") .await - .unwrap(); } #[derive(Default, Clone, Component)] |
