aboutsummaryrefslogtreecommitdiff
path: root/examples/full-todolist/src
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-26 06:27:16 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-26 06:41:01 +0800
commitd1a74ce57e5be72436376a829e9c7e1e7c1c561b (patch)
tree6ac923671fc09f1c47b613869d793ed3e04b91db /examples/full-todolist/src
parente735671acb3a81e1b7e334e56b9ef3963ba0c2fc (diff)
refactor(general_renderer): rename to structural_renderer
Diffstat (limited to 'examples/full-todolist/src')
-rw-r--r--examples/full-todolist/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/full-todolist/src/main.rs b/examples/full-todolist/src/main.rs
index 7f958d4..e4c5aa6 100644
--- a/examples/full-todolist/src/main.rs
+++ b/examples/full-todolist/src/main.rs
@@ -10,7 +10,7 @@ use mingling::{
macros::route,
prelude::*,
res::ResExitCode,
- setup::{ExitCodeSetup, GeneralRendererSetup, HelpFlagSetup},
+ setup::{ExitCodeSetup, StructuralRendererSetup, HelpFlagSetup},
LazyInit, LazyRes,
};
@@ -49,7 +49,7 @@ fn main() {
// Setups
program.with_setup(ExitCodeSetup::default());
- program.with_setup(GeneralRendererSetup);
+ program.with_setup(StructuralRendererSetup);
program.with_setup(HelpFlagSetup::new(["--help", "-h"]));
// Flags