From ee2575794e91b9457a74a95daf1dcc707058cd58 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 12 Oct 2025 23:01:54 +0300 Subject: upgrade deps and clean up lots of doc comments --- azalea-entity/src/mining.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'azalea-entity/src/mining.rs') diff --git a/azalea-entity/src/mining.rs b/azalea-entity/src/mining.rs index ea521a9a..cd526799 100644 --- a/azalea-entity/src/mining.rs +++ b/azalea-entity/src/mining.rs @@ -5,7 +5,9 @@ use azalea_registry as registry; use crate::{FluidOnEyes, Physics, effects}; /// How much progress is made towards mining the block per tick, as a -/// percentage. If this is 1 then the block gets broken instantly. +/// percentage. +/// +/// If this is 1, then the block gets broken instantly. /// /// You can divide 1 by this and then round up to get the number of ticks it /// takes to mine the block. @@ -71,8 +73,9 @@ fn has_correct_tool_for_drops(block: &dyn BlockTrait, tool: registry::Item) -> b } /// Returns the destroy speed of the given block with the given tool, taking -/// into account enchantments and effects. If the player is not holding anything -/// then `tool` should be `Item::Air`. +/// enchantments and effects into account. +/// +/// If the player is not holding anything, then `tool` should be `Item::Air`. fn destroy_speed( block: registry::Block, tool: registry::Item, -- cgit v1.2.3