diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-18 02:30:09 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-18 02:30:09 +0800 |
| commit | cd9cad77542e1909f9600f8a2e2754cc4cc4507a (patch) | |
| tree | d77eb9838a92b4b71de6252e6d892056123cfc1a /examples/full-todolist/src/main.rs | |
| parent | e70ffc81399f0f90f71fd269f4ba2ee90ca20c4a (diff) | |
chore!: simplify ExitCodeSetup to non-generic unit struct
Diffstat (limited to 'examples/full-todolist/src/main.rs')
| -rw-r--r-- | examples/full-todolist/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/full-todolist/src/main.rs b/examples/full-todolist/src/main.rs index 9c7bfe8..cac2e13 100644 --- a/examples/full-todolist/src/main.rs +++ b/examples/full-todolist/src/main.rs @@ -60,7 +60,7 @@ fn main() { let mut program = ThisProgram::new(); // Setups - program.with_setup(ExitCodeSetup::default()); + program.with_setup(ExitCodeSetup); program.with_setup(StructuralRendererSetup); program.with_setup(HelpFlagSetup::new(&arg![help: Flag, 'h'])); |
