diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-09 15:13:38 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-09 15:13:38 +0800 |
| commit | 1b67e1143f367d00e955c2780dbdefab463836e1 (patch) | |
| tree | 41b93757bba91e2e0eb112d9b5bdb3dfbb3c4c36 /mingling_macros/src/groupped.rs | |
| parent | 4764c3c818e3da16a3cba3b9877d9beb635e4237 (diff) | |
Rename DefaultProgram to ThisProgram and remove ThisProgram marker
Diffstat (limited to 'mingling_macros/src/groupped.rs')
| -rw-r--r-- | mingling_macros/src/groupped.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mingling_macros/src/groupped.rs b/mingling_macros/src/groupped.rs index 2f9934f..032e60b 100644 --- a/mingling_macros/src/groupped.rs +++ b/mingling_macros/src/groupped.rs @@ -29,7 +29,7 @@ pub fn derive_groupped(input: TokenStream) -> TokenStream { // Parse attributes to find #[group(...)] let group_ident = parse_group_attribute(&input.attrs) - .unwrap_or_else(|| Ident::new("DefaultProgram", Span::call_site())); + .unwrap_or_else(|| Ident::new("ThisProgram", Span::call_site())); // Generate the Groupped trait implementation let expanded = quote! { @@ -51,7 +51,7 @@ pub fn derive_groupped_serialize(input: TokenStream) -> TokenStream { // Parse attributes to find #[group(...)] let group_ident = parse_group_attribute(&input_parsed.attrs) - .unwrap_or_else(|| Ident::new("DefaultProgram", Span::call_site())); + .unwrap_or_else(|| Ident::new("ThisProgram", Span::call_site())); // Generate both Serialize and Groupped implementations let expanded = quote! { |
