diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-10 16:04:57 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-10 16:04:57 +0800 |
| commit | eebcdf6b163174ec1629d121264c0477652e3323 (patch) | |
| tree | f3b56721e4159fe4069a4524ce9d1a47c865019d /mingling_macros/src/func/pack.rs | |
| parent | a9d5943939261e27e58bcf5cacbb618a0f63e999 (diff) | |
refactor(macros): clean up clippy lints and simplify code
Diffstat (limited to 'mingling_macros/src/func/pack.rs')
| -rw-r--r-- | mingling_macros/src/func/pack.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_macros/src/func/pack.rs b/mingling_macros/src/func/pack.rs index 7206b8e..d85f59e 100644 --- a/mingling_macros/src/func/pack.rs +++ b/mingling_macros/src/func/pack.rs @@ -16,7 +16,7 @@ impl Parse for PackInput { input.parse::<Token![=]>()?; let inner_type: Type = input.parse()?; - Ok(PackInput { + Ok(Self { attrs, type_name, inner_type, |
