aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/client_impl
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-03-18 16:28:46 -1030
committermat <git@matdoes.dev>2026-03-20 04:21:58 -0200
commit25cd1c0b60604655b70d70f8ec33a54853905eea (patch)
tree28911045f6d69b2fffcb8d9c5a92fe32657b5e4b /azalea/src/client_impl
parentb03d2942e1bef98e13acadde5cbb8856a3f8c74d (diff)
downloadazalea-drasl-25cd1c0b60604655b70d70f8ec33a54853905eea.tar.xz
optimize pathfinder swarms and write perf guide
Diffstat (limited to 'azalea/src/client_impl')
-rw-r--r--azalea/src/client_impl/chat.rs2
-rw-r--r--azalea/src/client_impl/mod.rs2
2 files changed, 2 insertions, 2 deletions
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();