aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}