diff options
Diffstat (limited to 'components/to_shmem_derive/to_shmem.rs')
-rw-r--r-- | components/to_shmem_derive/to_shmem.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/to_shmem_derive/to_shmem.rs b/components/to_shmem_derive/to_shmem.rs index c3410bcc7e0..157730c5a51 100644 --- a/components/to_shmem_derive/to_shmem.rs +++ b/components/to_shmem_derive/to_shmem.rs @@ -65,14 +65,14 @@ pub fn derive(mut input: syn::DeriveInput) -> TokenStream { } } -#[darling(attributes(shmem), default)] #[derive(Default, FromDeriveInput)] +#[darling(attributes(shmem), default)] pub struct ShmemInputAttrs { pub no_bounds: bool, } -#[darling(attributes(shmem), default)] #[derive(Default, FromField)] +#[darling(attributes(shmem), default)] pub struct ShmemFieldAttrs { pub field_bound: bool, } |