aboutsummaryrefslogtreecommitdiff
path: root/azalea-buf
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2022-12-07 21:58:42 -0600
committerGitHub <noreply@github.com>2022-12-07 21:58:42 -0600
commit431f9e90a782c42f9d28a85d1d18288e352d3e0c (patch)
tree2ef9ed32d214efb1f93164b8eb88f3a6b2674430 /azalea-buf
parent7d901e39bc10a855b545d7b6c167f45148a1fb0a (diff)
downloadazalea-drasl-431f9e90a782c42f9d28a85d1d18288e352d3e0c.tar.xz
Reauth on invalid session (#50)
* Reauth on invalid session * fix to actually use new token and retry auth * fix unused vars
Diffstat (limited to 'azalea-buf')
-rw-r--r--azalea-buf/azalea-buf-macros/src/read.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/azalea-buf/azalea-buf-macros/src/read.rs b/azalea-buf/azalea-buf-macros/src/read.rs
index 42050d6b..75c71f94 100644
--- a/azalea-buf/azalea-buf-macros/src/read.rs
+++ b/azalea-buf/azalea-buf-macros/src/read.rs
@@ -1,10 +1,5 @@
-use proc_macro::TokenStream;
-use proc_macro2::Span;
use quote::{quote, ToTokens};
-use syn::{
- self, parse_macro_input, punctuated::Punctuated, token::Comma, Data, DeriveInput, Field,
- FieldsNamed, Ident,
-};
+use syn::{self, punctuated::Punctuated, token::Comma, Data, Field, FieldsNamed, Ident};
fn read_named_fields(
named: &Punctuated<Field, Comma>,