From 92af7be5e9b9ddbb9b4edf81178a915b864edf8c Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 27 Jan 2026 20:26:22 -0600 Subject: fix broken doc links for ClientBuilder::start and SwarmBuilder::start --- azalea/src/builder.rs | 5 +++-- azalea/src/swarm/builder.rs | 4 +++- 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 } -- cgit v1.2.3