diff options
| author | mat <git@matdoes.dev> | 2025-05-31 08:56:17 +0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-05-30 19:22:09 -0845 |
| commit | f27c87b291a920376e006a470efb353dee46ed17 (patch) | |
| tree | f1720081b856c5b7b96ab8111e6de4233f884e75 /azalea-core/src | |
| parent | e37524899eef8a0034faee35cef4bbf1ba779a7d (diff) | |
| download | azalea-drasl-f27c87b291a920376e006a470efb353dee46ed17.tar.xz | |
more formatting fixes
Diffstat (limited to 'azalea-core/src')
| -rw-r--r-- | azalea-core/src/position.rs | 14 |
1 files changed, 4 insertions, 10 deletions
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 { |
