diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-20 04:57:57 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-20 04:57:57 +0800 |
| commit | 34c4c66c1d336469e71fad8cff4828cf5d2bdafb (patch) | |
| tree | 056dd2aef3b775f0d505353a50eefe9e72b7d84d /mingling_macros/src/lib.rs | |
| parent | 8526d32f5713caee52a4839701fe4c4e499fc646 (diff) | |
feat(core)!: remove `to_chain` and `to_render` from `Grouped` trait
Move routing methods exclusively to the `Routable` trait and update
all macro-generated code to reference `Routable` instead of `Grouped`
Diffstat (limited to 'mingling_macros/src/lib.rs')
| -rw-r--r-- | mingling_macros/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling_macros/src/lib.rs b/mingling_macros/src/lib.rs index be355cd..462c6dd 100644 --- a/mingling_macros/src/lib.rs +++ b/mingling_macros/src/lib.rs @@ -610,7 +610,7 @@ pub fn route(input: TokenStream) -> TokenStream { #[proc_macro] pub fn empty_result(_input: TokenStream) -> TokenStream { let expanded = quote! { - <crate::ResultEmpty as ::mingling::Grouped::<crate::ThisProgram>>::to_chain(crate::ResultEmpty) + <crate::ResultEmpty as ::mingling::Routable::<crate::ThisProgram>>::to_chain(crate::ResultEmpty) }; TokenStream::from(expanded) } |
