aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/lib.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-10-12 23:01:54 +0300
committermat <git@matdoes.dev>2025-10-12 23:01:54 +0300
commitee2575794e91b9457a74a95daf1dcc707058cd58 (patch)
treedf725850ef18ded5ce3f6552e17095d0f704ae84 /azalea/src/lib.rs
parent1a1402954b07cd77615d0afc026c73b008787f51 (diff)
downloadazalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea/src/lib.rs')
-rw-r--r--azalea/src/lib.rs13
1 files changed, 8 insertions, 5 deletions
diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs
index e3e92170..069837b3 100644
--- a/azalea/src/lib.rs
+++ b/azalea/src/lib.rs
@@ -56,7 +56,7 @@ pub enum StartError {
}
/// A builder for creating new [`Client`]s. This is the recommended way of
-/// making Azalea bots.
+/// making a bot.
///
/// ```no_run
/// # use azalea::prelude::*;
@@ -201,8 +201,9 @@ where
}
/// Build this `ClientBuilder` into an actual [`Client`] and join the given
- /// server. If the client can't join, it'll keep retrying forever until it
- /// can.
+ /// server.
+ ///
+ /// If the client can't join, it'll keep retrying forever until it can.
///
/// The `address` argument can be a `&str`, [`ServerAddress`], or anything
/// that implements `TryInto<ServerAddress>`.
@@ -247,8 +248,10 @@ impl Default for ClientBuilder<NoState, ()> {
}
/// A marker that can be used in place of a State in [`ClientBuilder`] or
-/// [`SwarmBuilder`]. You probably don't need to use this manually since the
-/// compiler will infer it for you.
+/// [`SwarmBuilder`].
+///
+/// You probably don't need to use this manually since the compiler will infer
+/// it for you.
///
/// [`SwarmBuilder`]: swarm::SwarmBuilder
#[derive(Component, Clone, Default)]