aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azalea-world/src/find_blocks.rs4
-rw-r--r--azalea/src/client_impl/mod.rs2
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]