diff options
| author | mat <git@matdoes.dev> | 2025-05-30 19:36:59 -0800 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-05-30 19:36:59 -0800 |
| commit | ae4b1e85e669bc882d158509ef1eda46c6b2a72e (patch) | |
| tree | adf81cc01b0ce1575e95b99ad109fd92db1738f6 /azalea/src/container.rs | |
| parent | a64c6505049082175224802c5be51ac8f0cf4677 (diff) | |
| download | azalea-drasl-ae4b1e85e669bc882d158509ef1eda46c6b2a72e.tar.xz | |
fix clippy issues and improve formatting everywhere
Diffstat (limited to 'azalea/src/container.rs')
| -rw-r--r-- | azalea/src/container.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea/src/container.rs b/azalea/src/container.rs index 0d1cfb16..ebc033f3 100644 --- a/azalea/src/container.rs +++ b/azalea/src/container.rs @@ -1,5 +1,5 @@ +use std::fmt; use std::fmt::Debug; -use std::fmt::Formatter; use azalea_client::packet::game::ReceiveGamePacketEvent; use azalea_client::{ @@ -121,7 +121,7 @@ pub struct ContainerHandleRef { client: Client, } impl Debug for ContainerHandleRef { - fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("ContainerHandle") .field("id", &self.id()) .finish() @@ -192,7 +192,7 @@ impl Drop for ContainerHandle { } } impl Debug for ContainerHandle { - fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("ContainerHandle") .field("id", &self.id()) .finish() |
