From 25cd1c0b60604655b70d70f8ec33a54853905eea Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 18 Mar 2026 16:28:46 -1030 Subject: optimize pathfinder swarms and write perf guide --- azalea/src/client_impl/chat.rs | 2 +- azalea/src/client_impl/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea/src/client_impl') diff --git a/azalea/src/client_impl/chat.rs b/azalea/src/client_impl/chat.rs index 1a7359f7..2490e08c 100644 --- a/azalea/src/client_impl/chat.rs +++ b/azalea/src/client_impl/chat.rs @@ -37,7 +37,7 @@ impl Client { /// /// ```rust,no_run /// # use azalea::Client; - /// # async fn example(bot: Client) -> anyhow::Result<()> { + /// # async fn example(bot: Client) -> eyre::Result<()> { /// bot.chat("Hello, world!"); /// # Ok(()) /// # } diff --git a/azalea/src/client_impl/mod.rs b/azalea/src/client_impl/mod.rs index 91f91c0c..ba188307 100644 --- a/azalea/src/client_impl/mod.rs +++ b/azalea/src/client_impl/mod.rs @@ -284,7 +284,7 @@ impl Client { /// .await; /// println!("done!"); /// } - /// async fn handle(bot: Client, event: Event, _state: NoState) -> anyhow::Result<()> { + /// async fn handle(bot: Client, event: Event, _state: NoState) -> eyreResult<()> { /// match event { /// Event::Disconnect(_) | Event::ConnectionFailed(_) => { /// bot.exit(); -- cgit v1.2.3