aboutsummaryrefslogtreecommitdiff
path: root/examples/example-repl-basic
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-05-29 17:13:36 +0800
committer魏曹先生 <1992414357@qq.com>2026-05-29 17:13:36 +0800
commit6edaa76d67ab1ff211c7cc9cd179ffbefe93a04f (patch)
tree02d5b5f68b3d443baccbfc0ed3fc7fa16a3dd9a4 /examples/example-repl-basic
parent05826d67f1f9166a6620475ffdeaa488917befd8 (diff)
Rename error types with consistent naming convention
Diffstat (limited to 'examples/example-repl-basic')
-rw-r--r--examples/example-repl-basic/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-repl-basic/src/main.rs b/examples/example-repl-basic/src/main.rs
index f2c871e..630c419 100644
--- a/examples/example-repl-basic/src/main.rs
+++ b/examples/example-repl-basic/src/main.rs
@@ -166,7 +166,7 @@ fn render_error_directory_not_exist(err: ErrorDirectoryNotExist) {
// Handle dispatcher not found event
#[renderer]
-fn dispatcher_not_found(prev: DispatcherNotFound) {
+fn dispatcher_not_found(prev: ErrorDispatcherNotFound) {
r_println!("Command not found: \"{}\"", prev.join(", "))
}