aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-01-27 20:26:22 -0600
committermat <git@matdoes.dev>2026-01-27 20:26:22 -0600
commit92af7be5e9b9ddbb9b4edf81178a915b864edf8c (patch)
tree7b4f366ceb356c79e24bd22a7c285d1df94cf71a
parentd38dfe3915aaa847d18f1c397b19fd19052efdae (diff)
downloadazalea-drasl-92af7be5e9b9ddbb9b4edf81178a915b864edf8c.tar.xz
fix broken doc links for ClientBuilder::start and SwarmBuilder::start
-rw-r--r--azalea/src/builder.rs5
-rw-r--r--azalea/src/swarm/builder.rs4
2 files changed, 6 insertions, 3 deletions
diff --git a/azalea/src/builder.rs b/azalea/src/builder.rs
index 0cb4abbf..28557b17 100644
--- a/azalea/src/builder.rs
+++ b/azalea/src/builder.rs
@@ -176,8 +176,9 @@ where
/// This will error if the given address is invalid or couldn't be resolved
/// to a Minecraft server.
///
- /// [`ServerAddr`]: azalea_protocol::address::ServerAddr
- /// [`ResolvedAddr`]: azalea_protocol::address::ResolvedAddr
+ /// [`ServerAddr`]: ../azalea_protocol/address/struct.ServerAddr.html
+ /// [`ResolvedAddr`]: ../azalea_protocol/address/struct.ResolvedAddr.html
+ /// [`ResolvableAddr`]: ../azalea_protocol/address/trait.ResolvableAddr.html
pub async fn start(mut self, account: Account, address: impl ResolvableAddr) -> AppExit {
self.swarm.accounts = vec![(account, JoinOpts::default())];
if self.swarm.states.is_empty() {
diff --git a/azalea/src/swarm/builder.rs b/azalea/src/swarm/builder.rs
index 0adb4f26..853324fa 100644
--- a/azalea/src/swarm/builder.rs
+++ b/azalea/src/swarm/builder.rs
@@ -378,7 +378,9 @@ where
/// The `address` argument can be a `&str`, [`ServerAddr`],
/// [`ResolvedAddr`], or anything else that implements [`ResolvableAddr`].
///
- /// [`ServerAddr`]: azalea_protocol::address::ServerAddr
+ /// [`ServerAddr`]: ../../azalea_protocol/address/struct.ServerAddr.html
+ /// [`ResolvedAddr`]: ../../azalea_protocol/address/struct.ResolvedAddr.html
+ /// [`ResolvableAddr`]: ../../azalea_protocol/address/trait.ResolvableAddr.html
pub async fn start(self, address: impl ResolvableAddr) -> AppExit {
self.start_with_opts(address, JoinOpts::default()).await
}