diff options
Diffstat (limited to 'examples/example-error-handling/src/main.rs')
| -rw-r--r-- | examples/example-error-handling/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-error-handling/src/main.rs b/examples/example-error-handling/src/main.rs index e9c0f57..05b451b 100644 --- a/examples/example-error-handling/src/main.rs +++ b/examples/example-error-handling/src/main.rs @@ -26,7 +26,7 @@ use std::io::Write; // In Mingling, instead of using ? to propagate errors upward, // errors are treated as branches that continue execution. -dispatcher!("hello", CMDHello => EntryHello); +dispatcher!("hello", EntryHello); // Define error types pack!(ErrorNoNameProvided = ()); |
