diff options
Diffstat (limited to 'mingling/src')
| -rw-r--r-- | mingling/src/example_docs.rs | 6 | ||||
| -rw-r--r-- | mingling/src/lib.rs | 2 |
2 files changed, 4 insertions, 4 deletions
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(" ")); /// } /// diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index fee25bc..83fd64e 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -38,7 +38,7 @@ //! } //! //! #[renderer] -//! fn render_dispatcher_not_found(err: DispatcherNotFound) { +//! fn render_dispatcher_not_found(err: ErrorDispatcherNotFound) { //! if err.len() > 0 { //! r_println!("Command not found: [{}]", err.join(" ")); //! } |
