aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/builder.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-15 13:53:46 +0930
committermat <git@matdoes.dev>2025-12-15 13:53:46 +0930
commitaab9f56da20a36347fe31557377e07a47c114dc6 (patch)
tree15c81634d92eed995a85a65b05584ae216207163 /azalea/src/builder.rs
parent9745766cff8907e6c6bb87b4ab852acaeadd6ef9 (diff)
downloadazalea-drasl-aab9f56da20a36347fe31557377e07a47c114dc6.tar.xz
improve docs by enabling scraped examples and bevy trait tags
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.
///