aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-27 13:56:04 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-27 13:56:04 +0800
commit930fa5328c96eff49e1ffa94775c43235f42a4f7 (patch)
tree7cf6a5dcf069a057ab1df5b5bb186fabd7fe089f
parenta3a657a4e0a4cc243846c6289a9d945e6eb35aa4 (diff)
Remove unused `ChainProcess` import in examples
-rw-r--r--examples/example-basic/src/main.rs5
-rw-r--r--examples/example-completion/src/main.rs2
-rw-r--r--examples/example-general-renderer/src/main.rs2
3 files changed, 3 insertions, 6 deletions
diff --git a/examples/example-basic/src/main.rs b/examples/example-basic/src/main.rs
index a91154a..944a914 100644
--- a/examples/example-basic/src/main.rs
+++ b/examples/example-basic/src/main.rs
@@ -5,10 +5,7 @@
//! cargo run --manifest-path ./examples/example-basic/Cargo.toml -- hello World
//! ```
-use mingling::{
- ChainProcess,
- macros::{chain, dispatcher, gen_program, pack, r_println, renderer},
-};
+use mingling::macros::{chain, dispatcher, gen_program, pack, r_println, renderer};
// Define dispatcher `HelloCommand`, directing subcommand "hello" to `HelloEntry`
dispatcher!("hello", HelloCommand => HelloEntry);
diff --git a/examples/example-completion/src/main.rs b/examples/example-completion/src/main.rs
index 8f88b2c..3018b26 100644
--- a/examples/example-completion/src/main.rs
+++ b/examples/example-completion/src/main.rs
@@ -25,7 +25,7 @@
//! 4. Execute `cargo install --path ./`, then run the corresponding completion script in your shell
use mingling::{
- ChainProcess, EnumTag, Groupped, ShellContext, Suggest,
+ EnumTag, Groupped, ShellContext, Suggest,
macros::{
chain, completion, dispatcher, gen_program, r_println, renderer, suggest, suggest_enum,
},
diff --git a/examples/example-general-renderer/src/main.rs b/examples/example-general-renderer/src/main.rs
index bea563d..0a00795 100644
--- a/examples/example-general-renderer/src/main.rs
+++ b/examples/example-general-renderer/src/main.rs
@@ -33,7 +33,7 @@
//! ```
use mingling::{
- ChainProcess, Groupped,
+ Groupped,
macros::{chain, dispatcher, gen_program, r_println, renderer},
parser::Picker,
setup::GeneralRendererSetup,