aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/asset/chain.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-22 13:27:43 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-22 13:30:13 +0800
commit3785202ec5b949cba5501b20729b16f4c29ea626 (patch)
tree2a276df54128e73557463af54d626a1a7c250e94 /mingling_core/src/asset/chain.rs
parentc2f9fb47832c5e12fe37762616c81b016de00464 (diff)
Add new_with_args and dispatch_args_dynamic to Program
Remove Display bound from Group type parameter and delete dispatcher_render macro. This is a breaking change.
Diffstat (limited to 'mingling_core/src/asset/chain.rs')
-rw-r--r--mingling_core/src/asset/chain.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/mingling_core/src/asset/chain.rs b/mingling_core/src/asset/chain.rs
index c41b716..1b488fe 100644
--- a/mingling_core/src/asset/chain.rs
+++ b/mingling_core/src/asset/chain.rs
@@ -1,15 +1,10 @@
-use std::fmt::Display;
-
use crate::ChainProcess;
#[doc(hidden)]
pub mod error;
/// Takes over a type (G: Previous) and converts it to another [AnyOutput](./struct.AnyOutput.html)
-pub trait Chain<G>
-where
- G: Display,
-{
+pub trait Chain<G> {
/// The previous type in the chain
type Previous;