From aff9748596f9194849a56a02b6c3e5e9c2e4f115 Mon Sep 17 00:00:00 2001 From: Geoffroy Couprie Date: Wed, 27 Nov 2024 19:00:21 +0100 Subject: [PATCH] update macros --- biscuit-quote/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit-quote/src/lib.rs b/biscuit-quote/src/lib.rs index 4a660668..f917e736 100644 --- a/biscuit-quote/src/lib.rs +++ b/biscuit-quote/src/lib.rs @@ -476,7 +476,7 @@ impl ToTokens for Builder { let builder_type = &self.builder_type; let builder_quote = if let Some(target) = &self.target { quote! { - let __biscuit_auth_builder: &mut #builder_type = #target; + let mut __biscuit_auth_builder: #builder_type = #target; } } else { quote! {