aboutsummaryrefslogtreecommitdiff
path: root/azalea-buf/src/write.rs
diff options
context:
space:
mode:
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,