aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src/builder.rs')
-rw-r--r--azalea/src/builder.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea/src/builder.rs b/azalea/src/builder.rs
index 28557b17..cc3b384a 100644
--- a/azalea/src/builder.rs
+++ b/azalea/src/builder.rs
@@ -25,7 +25,7 @@ use crate::{
/// # }
/// # #[derive(Clone, Component, Default)]
/// # pub struct State;
-/// # async fn handle(mut bot: Client, event: Event, state: State) -> anyhow::Result<()> {
+/// # async fn handle(mut bot: Client, event: Event, state: State) -> eyre::Result<()> {
/// # Ok(())
/// # }
/// ```
@@ -73,7 +73,7 @@ impl ClientBuilder<NoState, ()> {
/// # client_builder.set_handler(handle);
/// # #[derive(Clone, Component, Default)]
/// # pub struct State;
- /// # async fn handle(mut bot: Client, event: Event, state: State) -> anyhow::Result<()> {
+ /// # async fn handle(mut bot: Client, event: Event, state: State) -> eyre::Result<()> {
/// # Ok(())
/// # }
/// ```
@@ -102,7 +102,7 @@ impl ClientBuilder<NoState, ()> {
///
/// # #[derive(Clone, Component, Default)]
/// # pub struct State;
- /// async fn handle(mut bot: Client, event: Event, state: State) -> anyhow::Result<()> {
+ /// async fn handle(mut bot: Client, event: Event, state: State) -> eyre::Result<()> {
/// Ok(())
/// }
/// ```