From 70b3a70e077900b078285316c864f7e74ecbff2b Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 22 Feb 2026 14:44:11 +1200 Subject: fix tests --- azalea-world/src/find_blocks.rs | 4 ++-- azalea/src/client_impl/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/azalea-world/src/find_blocks.rs b/azalea-world/src/find_blocks.rs index 0980e825..753809ef 100644 --- a/azalea-world/src/find_blocks.rs +++ b/azalea-world/src/find_blocks.rs @@ -11,8 +11,8 @@ impl World { /// /// ``` /// # use azalea_registry::builtin::BlockKind; - /// # fn example(world: &World) { - /// let pos = world.find_block(client.position(), &BlockKind::Chest.into()); + /// # fn example(position: azalea_core::position::Vec3, world: &azalea_world::World) { + /// let pos = world.find_block(position, &BlockKind::Chest.into()); /// # } /// ``` pub fn find_block( diff --git a/azalea/src/client_impl/mod.rs b/azalea/src/client_impl/mod.rs index 66fa1a6f..91f91c0c 100644 --- a/azalea/src/client_impl/mod.rs +++ b/azalea/src/client_impl/mod.rs @@ -272,7 +272,7 @@ impl Client { /// [`Swarm::add_with_opts`]: crate::swarm::Swarm::add_with_opts /// [`Swarm::exit`]: crate::swarm::Swarm::exit /// - /// ``` + /// ```no_run /// // a bot that joins a server and prints "done!" when it's disconnected or if it fails to connect. /// use azalea::{NoState, prelude::*}; /// #[tokio::main] -- cgit v1.2.3