diff options
Diffstat (limited to 'examples/example-metadata/src/main.rs')
| -rw-r--r-- | examples/example-metadata/src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/example-metadata/src/main.rs b/examples/example-metadata/src/main.rs index 5395614..94facb4 100644 --- a/examples/example-metadata/src/main.rs +++ b/examples/example-metadata/src/main.rs @@ -25,13 +25,13 @@ use mingling::{macros::metadata, prelude::*}; use std::io::Write; // Define the `greet` subcommand -dispatcher!("greet", CMDGreet => EntryGreet); +dispatcher!("greet", EntryGreet); // Define the `desc` subcommand, which queries metadata bound to EntryGreet -dispatcher!("desc", CMDDescription => EntryDescription); +dispatcher!("desc", EntryDescription); // Define the `nodoc` subcommand, which queries metadata for an entry that has none -dispatcher!("nodoc", CMDNoDescription => EntryNoDescription); +dispatcher!("nodoc", EntryNoDescription); fn main() { ThisProgram::new().exec_and_exit(); |
