From 8d71577da8a66c8270ba2f09fabd73eef2228cea Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 1 Feb 2025 21:35:11 +0000 Subject: [PATCH] fix doc errors --- azalea-client/src/client.rs | 3 +-- azalea-client/src/raw_connection.rs | 2 ++ azalea/src/pathfinder/mod.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index 1f8ebb53..37569d6b 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -721,8 +721,7 @@ impl Client { /// `configuration` or `game` state. /// /// For the components that are only present in the `game` state, see -/// [`JoinedClientBundle`] and for the ones in the `configuration` state, see -/// [`ConfigurationClientBundle`]. +/// [`JoinedClientBundle`]. #[derive(Bundle)] pub struct LocalPlayerBundle { pub raw_connection: RawConnection, diff --git a/azalea-client/src/raw_connection.rs b/azalea-client/src/raw_connection.rs index 50f41049..e3f35282 100644 --- a/azalea-client/src/raw_connection.rs +++ b/azalea-client/src/raw_connection.rs @@ -158,6 +158,8 @@ impl RawConnectionWriter { /// Consume the [`ServerboundGamePacket`] queue and actually write the /// packets to the server. It's like this so writing packets doesn't need to /// be awaited. + /// + /// [`ServerboundGamePacket`]: azalea_protocol::packets::game::ServerboundGamePacket pub async fn write_task( self, mut write_conn: RawWriteConnection, diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index 0c926d03..ae23788b 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -337,7 +337,7 @@ pub struct CalculatePathOpts { pub goto_id_atomic: Arc, pub allow_mining: bool, pub mining_cache: MiningCache, - /// Also see [`GotoEvent::deterministic_timeout`] + /// Also see [`GotoEvent::min_timeout`]. pub min_timeout: PathfinderTimeout, pub max_timeout: PathfinderTimeout, }