diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-04-27 11:09:35 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-04-27 11:29:26 +0800 |
| commit | ae91bf2f6412edee65660085811248e0127fa97b (patch) | |
| tree | 504a055510a7592e64ec382cbef97cded7c7e69f /examples/example-picker/src/main.rs | |
| parent | 704eb899babd85125d29cf41315e9df90515046f (diff) | |
Remove `marker::NextProcess` and generate it via `gen_program!`
Diffstat (limited to 'examples/example-picker/src/main.rs')
| -rw-r--r-- | examples/example-picker/src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/example-picker/src/main.rs b/examples/example-picker/src/main.rs index 6bc4bfd..5653368 100644 --- a/examples/example-picker/src/main.rs +++ b/examples/example-picker/src/main.rs @@ -19,7 +19,6 @@ use mingling::{ macros::{chain, dispatcher, gen_program, pack, r_println, renderer}, - marker::NextProcess, parser::Picker, }; @@ -35,7 +34,7 @@ pack!(NoNameProvided = ()); pack!(ParsedPickInput = (i32, String)); #[chain] -fn parse(prev: PickEntry) -> NextProcess { +fn parse(prev: PickEntry) -> mingling::ChainProcess<ThisProgram> { // Extract arguments from `PickEntry`'s inner and create a `Picker` let picker = Picker::new(prev.inner); let picked = picker |
