diff options
| author | HampusM <hampus@hampusmat.com> | 2026-09-21 19:26:45 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-09-21 19:26:45 +0200 |
| commit | 7a1f851b4d10912ac645b7167535c2c4d5345802 (patch) | |
| tree | c080d07a4d4fa7d7107a15f2633a80ba93ffd158 /engine-macros/src/reflection/field.rs | |
| parent | 7b7e0185af076cfc62914c9e2950709ad2925aa0 (diff) | |
refactor(engine-macros): fix clippy lints
Diffstat (limited to 'engine-macros/src/reflection/field.rs')
| -rw-r--r-- | engine-macros/src/reflection/field.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine-macros/src/reflection/field.rs b/engine-macros/src/reflection/field.rs index 7c50f47..105a35b 100644 --- a/engine-macros/src/reflection/field.rs +++ b/engine-macros/src/reflection/field.rs @@ -12,7 +12,7 @@ pub fn generate( field: &syn::Field, field_index: usize, engine_crate_path: &syn::Path, - options: ReflectionFieldGenOptions<'_>, + options: &ReflectionFieldGenOptions<'_>, ) -> proc_macro2::TokenStream { let field_ident = &field.ident; @@ -31,7 +31,7 @@ pub fn generate( let field_vis = options.field_vis_override.as_ref().unwrap_or(&field.vis); - let field_reflection_vis = generate_visibility(field_vis, &engine_crate_path); + let field_reflection_vis = generate_visibility(field_vis, engine_crate_path); let get_type_fn_body = { gen_get_optional_type_reflection(field_type, engine_crate_path) }; |
