aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/ping.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-09-26 09:26:22 -0630
committermat <git@matdoes.dev>2025-09-26 21:56:32 +0600
commit0ec25dc45ec912bd9ef07ed9107f968de55f4a18 (patch)
treedc393947dc6edba57baac65b4ee899f6108fe545 /azalea-client/src/ping.rs
parentc811dc471a31175d985e2d448a772c628dcad5f6 (diff)
downloadazalea-drasl-0ec25dc45ec912bd9ef07ed9107f968de55f4a18.tar.xz
don't re-export azalea::bot::*, and some doc improvements
Diffstat (limited to 'azalea-client/src/ping.rs')
-rw-r--r--azalea-client/src/ping.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/azalea-client/src/ping.rs b/azalea-client/src/ping.rs
index 38d5c26f..8c4e2240 100644
--- a/azalea-client/src/ping.rs
+++ b/azalea-client/src/ping.rs
@@ -67,9 +67,10 @@ pub async fn ping_server_with_proxy(
ping_server_with_connection(address, conn).await
}
-/// Ping a Minecraft server after we've already created a [`Connection`]. The
-/// `Connection` must still be in the handshake state (which is the state it's
-/// in immediately after it's created).
+/// Ping a Minecraft server after we've already created a [`Connection`].
+///
+/// The `Connection` must still be in the handshake state (which is the state
+/// it's in immediately after it's created).
pub async fn ping_server_with_connection(
address: ServerAddress,
mut conn: Connection<ClientboundHandshakePacket, ServerboundHandshakePacket>,