diff options
| author | mat <git@matdoes.dev> | 2026-02-22 14:44:11 +1200 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-02-22 14:44:11 +1200 |
| commit | 70b3a70e077900b078285316c864f7e74ecbff2b (patch) | |
| tree | f8607ce549fc9453e27485253ee00064f5e28fce | |
| parent | 50119ac97a36d94ab9bb5bd2d8c31d1d0c494a48 (diff) | |
| download | azalea-drasl-70b3a70e077900b078285316c864f7e74ecbff2b.tar.xz | |
fix tests
| -rw-r--r-- | azalea-world/src/find_blocks.rs | 4 | ||||
| -rw-r--r-- | 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] |
