aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/attr/chain.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-20 04:57:57 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-20 04:57:57 +0800
commit34c4c66c1d336469e71fad8cff4828cf5d2bdafb (patch)
tree056dd2aef3b775f0d505353a50eefe9e72b7d84d /mingling_macros/src/attr/chain.rs
parent8526d32f5713caee52a4839701fe4c4e499fc646 (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/attr/chain.rs')
-rw-r--r--mingling_macros/src/attr/chain.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mingling_macros/src/attr/chain.rs b/mingling_macros/src/attr/chain.rs
index 120e65d..26bb137 100644
--- a/mingling_macros/src/attr/chain.rs
+++ b/mingling_macros/src/attr/chain.rs
@@ -62,13 +62,13 @@ fn generate_proc_fn(
quote! {
#(#immut_resource_stmts)*
#wrapped_body;
- <crate::ResultEmpty as ::mingling::Grouped::<crate::ThisProgram>>
+ <crate::ResultEmpty as ::mingling::Routable::<crate::ThisProgram>>
::to_chain(crate::ResultEmpty)
}
} else {
quote! {
#wrapped_body;
- <crate::ResultEmpty as ::mingling::Grouped::<crate::ThisProgram>>
+ <crate::ResultEmpty as ::mingling::Routable::<crate::ThisProgram>>
::to_chain(crate::ResultEmpty)
}
};