aboutsummaryrefslogtreecommitdiff
path: root/azalea-buf/src/write.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-10-26 05:29:26 +0000
committermat <git@matdoes.dev>2024-10-26 05:29:26 +0000
commit6b0fe5bf638079d535e70c3c91e78fe35a5d2a2f (patch)
tree3b65d2984a0cffbe5acb3d44d7e3b8b145c32f95 /azalea-buf/src/write.rs
parentb762575db61cf775d603e11eb2bd27ae13bdc4e9 (diff)
downloadazalea-drasl-6b0fe5bf638079d535e70c3c91e78fe35a5d2a2f.tar.xz
group imports with rustfmt
Diffstat (limited to 'azalea-buf/src/write.rs')
-rwxr-xr-xazalea-buf/src/write.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/azalea-buf/src/write.rs b/azalea-buf/src/write.rs
index 61dedfd8..49215a5a 100755
--- a/azalea-buf/src/write.rs
+++ b/azalea-buf/src/write.rs
@@ -1,7 +1,9 @@
-use super::{UnsizedByteArray, MAX_STRING_LENGTH};
-use byteorder::{BigEndian, WriteBytesExt};
use std::{collections::HashMap, io::Write};
+use byteorder::{BigEndian, WriteBytesExt};
+
+use super::{UnsizedByteArray, MAX_STRING_LENGTH};
+
fn write_utf_with_len(
buf: &mut impl Write,
string: &str,