From e3c44bde10207fc8fb3152696cd51941da7ce921 Mon Sep 17 00:00:00 2001 From: Zachary Sunforge Date: Tue, 20 Jun 2023 19:34:10 -0700 Subject: [PATCH] Device macro to generate stateful and publish variants of device specific poll inputs. --- macros/node-poll-variants/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/macros/node-poll-variants/src/lib.rs b/macros/node-poll-variants/src/lib.rs index eca7be8..c6d8b99 100644 --- a/macros/node-poll-variants/src/lib.rs +++ b/macros/node-poll-variants/src/lib.rs @@ -108,9 +108,7 @@ pub fn poll_variant_macro(input: TokenStream) -> TokenStream { // If there are lifetimes and other generics } else { // Insert MutexT after the lifetimes - publish_generics - .params - .insert(num_lifetimes, mutex_t_param); + publish_generics.params.insert(num_lifetimes, mutex_t_param); } // If there are no generics } else {