diff options
Diffstat (limited to 'azalea/src/client_impl')
| -rw-r--r-- | azalea/src/client_impl/chat.rs | 2 | ||||
| -rw-r--r-- | azalea/src/client_impl/mod.rs | 2 |
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(); |
