From f4a3c53eee7d29bade0c074f402c4a45aa98eca8 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Fri, 12 Dec 2025 01:29:49 -0600 Subject: Delete `StartError` and `JoinError` (#296) * delete StartError and JoinError * update changelog --- azalea/examples/testbot/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'azalea/examples/testbot') diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs index 6adb782c..2c282f07 100644 --- a/azalea/examples/testbot/main.rs +++ b/azalea/examples/testbot/main.rs @@ -33,7 +33,7 @@ use commands::{CommandSource, register_commands}; use parking_lot::Mutex; #[tokio::main] -async fn main() { +async fn main() -> AppExit { let args = parse_args(); thread::spawn(deadlock_detection_thread); @@ -65,7 +65,6 @@ async fn main() { }) .start(join_address) .await - .unwrap(); } /// Runs a loop that checks for deadlocks every 10 seconds. -- cgit v1.2.3