diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-02 04:22:30 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-02 04:22:30 +0800 |
| commit | 8128f2c94313b2e9b9d0b5c3350623f77bbb2521 (patch) | |
| tree | 9e542eeaaae148b8cccaa01608d75ed1fc463869 /mingling_core/src/any.rs | |
| parent | 3f24e5b6ead1e153408ae5e58ad34636fe614645 (diff) | |
chore: run cargo fmt and rearrange re-exports in minglingnext
Diffstat (limited to 'mingling_core/src/any.rs')
| -rw-r--r-- | mingling_core/src/any.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mingling_core/src/any.rs b/mingling_core/src/any.rs index b586f09..2680f43 100644 --- a/mingling_core/src/any.rs +++ b/mingling_core/src/any.rs @@ -1,5 +1,5 @@ -use crate::{Groupped, ProgramCollect}; use crate::error::ChainProcessError; +use crate::{Groupped, ProgramCollect}; #[doc(hidden)] pub mod group; @@ -136,7 +136,10 @@ impl<G> From<AnyOutput<G>> for ChainProcess<G> { } } -impl<G> From<()> for ChainProcess<G> where G: ProgramCollect<Enum = G> { +impl<G> From<()> for ChainProcess<G> +where + G: ProgramCollect<Enum = G>, +{ fn from(_v: ()) -> Self { G::build_empty_result().route_chain() } |
