aboutsummaryrefslogtreecommitdiff
path: root/examples/example-error-handling
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-error-handling')
-rw-r--r--examples/example-error-handling/src/main.rs2
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 d8db852..d4d073e 100644
--- a/examples/example-error-handling/src/main.rs
+++ b/examples/example-error-handling/src/main.rs
@@ -83,7 +83,7 @@ fn render_error_name_too_long(len: ErrorNameTooLong) {
}
#[renderer]
-fn render_dispatcher_not_found(err: DispatcherNotFound) {
+fn render_dispatcher_not_found(err: ErrorDispatcherNotFound) {
// Prompt when command is not found, showing the input command
r_println!("Command not found: \"{}\"", err.inner.join(" "));
}