From f27c87b291a920376e006a470efb353dee46ed17 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 31 May 2025 08:56:17 +0500 Subject: more formatting fixes --- azalea-core/src/position.rs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'azalea-core/src') diff --git a/azalea-core/src/position.rs b/azalea-core/src/position.rs index e090b3f9..04cce036 100644 --- a/azalea-core/src/position.rs +++ b/azalea-core/src/position.rs @@ -376,11 +376,8 @@ impl BlockPos { /// ``` /// # use azalea_core::position::BlockPos; /// assert_eq!( - /// BlockPos::min( - /// &BlockPos::new(1, 20, 300), - /// &BlockPos::new(50, 40, 30), - /// ), - /// BlockPos::new(1, 20, 30), + /// BlockPos::min(&BlockPos::new(1, 20, 300), &BlockPos::new(50, 40, 30),), + /// BlockPos::new(1, 20, 30), /// ); /// ``` pub fn min(&self, other: &Self) -> Self { @@ -396,11 +393,8 @@ impl BlockPos { /// ``` /// # use azalea_core::position::BlockPos; /// assert_eq!( - /// BlockPos::max( - /// &BlockPos::new(1, 20, 300), - /// &BlockPos::new(50, 40, 30), - /// ), - /// BlockPos::new(50, 40, 300), + /// BlockPos::max(&BlockPos::new(1, 20, 300), &BlockPos::new(50, 40, 30),), + /// BlockPos::new(50, 40, 300), /// ); /// ``` pub fn max(&self, other: &Self) -> Self { -- cgit v1.2.3