From 6edaa76d67ab1ff211c7cc9cd179ffbefe93a04f Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 29 May 2026 17:13:36 +0800 Subject: Rename error types with consistent naming convention --- mingling/src/example_docs.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mingling/src/example_docs.rs') diff --git a/mingling/src/example_docs.rs b/mingling/src/example_docs.rs index 5b889ba..b665485 100644 --- a/mingling/src/example_docs.rs +++ b/mingling/src/example_docs.rs @@ -1029,7 +1029,7 @@ pub mod example_enum_tag {} /// } /// /// #[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(" ")); /// } @@ -1658,7 +1658,7 @@ pub mod example_panic_unwind {} /// /// // 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(", ")) /// } /// @@ -1918,7 +1918,7 @@ pub mod example_setup {} /// } /// /// #[renderer] -/// fn render_dispatcher_not_found(err: DispatcherNotFound) { +/// fn render_dispatcher_not_found(err: ErrorDispatcherNotFound) { /// r_println!("Command not found: \"{}\"", err.inner.join(" ")); /// } /// -- cgit