aboutsummaryrefslogtreecommitdiff
path: root/azalea-buf
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-02-22 22:41:54 -0600
committermat <git@matdoes.dev>2024-02-22 22:41:54 -0600
commit038807e607c55757b3d9a9d51f0b9e65a781772b (patch)
treef162c7397e7ff17f2c7cb1f3fde7178dea60b645 /azalea-buf
parent69f7eebcb300bbefdc8b10c191a09db250bde630 (diff)
downloadazalea-drasl-038807e607c55757b3d9a9d51f0b9e65a781772b.tar.xz
fix for hypixel limbo
Diffstat (limited to 'azalea-buf')
-rwxr-xr-xazalea-buf/azalea-buf-macros/src/lib.rs2
-rw-r--r--azalea-buf/azalea-buf-macros/src/read.rs2
-rw-r--r--azalea-buf/azalea-buf-macros/src/write.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/azalea-buf/azalea-buf-macros/src/lib.rs b/azalea-buf/azalea-buf-macros/src/lib.rs
index 4089b4b7..4d17daa6 100755
--- a/azalea-buf/azalea-buf-macros/src/lib.rs
+++ b/azalea-buf/azalea-buf-macros/src/lib.rs
@@ -3,7 +3,7 @@ mod write;
use proc_macro::TokenStream;
use quote::quote;
-use syn::{self, parse_macro_input, DeriveInput};
+use syn::{parse_macro_input, DeriveInput};
#[proc_macro_derive(McBufReadable, attributes(var))]
pub fn derive_mcbufreadable(input: TokenStream) -> TokenStream {
diff --git a/azalea-buf/azalea-buf-macros/src/read.rs b/azalea-buf/azalea-buf-macros/src/read.rs
index 010c7f57..c3e9595c 100644
--- a/azalea-buf/azalea-buf-macros/src/read.rs
+++ b/azalea-buf/azalea-buf-macros/src/read.rs
@@ -1,5 +1,5 @@
use quote::{quote, ToTokens};
-use syn::{self, punctuated::Punctuated, token::Comma, Data, Field, FieldsNamed, Ident};
+use syn::{punctuated::Punctuated, token::Comma, Data, Field, FieldsNamed, Ident};
fn read_named_fields(
named: &Punctuated<Field, Comma>,
diff --git a/azalea-buf/azalea-buf-macros/src/write.rs b/azalea-buf/azalea-buf-macros/src/write.rs
index bc493f38..35c2d49a 100644
--- a/azalea-buf/azalea-buf-macros/src/write.rs
+++ b/azalea-buf/azalea-buf-macros/src/write.rs
@@ -1,6 +1,6 @@
use proc_macro2::Span;
use quote::{quote, ToTokens};
-use syn::{self, punctuated::Punctuated, token::Comma, Data, Field, FieldsNamed, Ident};
+use syn::{punctuated::Punctuated, token::Comma, Data, Field, FieldsNamed, Ident};
fn write_named_fields(
named: &Punctuated<Field, Comma>,