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.rs13
1 files changed, 7 insertions, 6 deletions
diff --git a/azalea/src/builder.rs b/azalea/src/builder.rs
index d0318424..91fb9d5e 100644
--- a/azalea/src/builder.rs
+++ b/azalea/src/builder.rs
@@ -11,8 +11,8 @@ use crate::{
swarm::{self, SwarmBuilder},
};
-/// A builder for creating new [`Client`]s. This is the recommended way of
-/// making a bot.
+/// A builder for creating new [`Client`](crate::Client)s. This is the
+/// recommended way of making a bot.
///
/// ```no_run
/// # use azalea::prelude::*;
@@ -84,8 +84,9 @@ impl ClientBuilder<NoState, ()> {
}
}
- /// Set the function that's called every time a bot receives an [`Event`].
- /// This is the way to handle normal per-bot events.
+ /// Set the function that's called every time a bot receives an
+ /// [`Event`](crate::Client). This is the way to handle normal per-bot
+ /// events.
///
/// Currently, you can have up to one client handler.
///
@@ -156,8 +157,8 @@ where
self
}
- /// Build this `ClientBuilder` into an actual [`Client`] and join the given
- /// server.
+ /// Build this `ClientBuilder` into an actual [`Client`](crate::Client) and
+ /// join the given server.
///
/// If the client can't join, it'll keep retrying forever until it can.
///