diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-31 02:42:52 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-31 17:19:20 +0800 |
| commit | 2aa7bda3cb21ce6c052b82e08bcab79a625d04f2 (patch) | |
| tree | f10b89007fc67ca1a948f34abe6869b49296b932 /examples/example-dispatch-tree | |
| parent | 3aa409a55e4f2f0ab41b0949cc06eb13c2da4a43 (diff) | |
Enhance code quality across the entire codebase
Diffstat (limited to 'examples/example-dispatch-tree')
| -rw-r--r-- | examples/example-dispatch-tree/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/example-dispatch-tree/src/main.rs b/examples/example-dispatch-tree/src/main.rs index 08714d1..e087b1e 100644 --- a/examples/example-dispatch-tree/src/main.rs +++ b/examples/example-dispatch-tree/src/main.rs @@ -48,9 +48,10 @@ fn main() { // // it'll be collected automatically once the `dispatch_tree` feature is enabled // program.with_dispatcher(...); - program.exec_and_exit() + program.exec_and_exit(); } +/// Renders the confirmation message for the `cmd5` command. #[renderer] fn render_cmd5(_: Entry5) { r_println!("It's works!"); |
