diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-29 17:13:36 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-29 17:13:36 +0800 |
| commit | 6edaa76d67ab1ff211c7cc9cd179ffbefe93a04f (patch) | |
| tree | 02d5b5f68b3d443baccbfc0ed3fc7fa16a3dd9a4 /examples/example-error-handling/src | |
| parent | 05826d67f1f9166a6620475ffdeaa488917befd8 (diff) | |
Rename error types with consistent naming convention
Diffstat (limited to 'examples/example-error-handling/src')
| -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 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(" ")); } |
