From 9c8f5c8d60f3066fec8a1573aa3f5673e0b2ecb8 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 3 Aug 2026 13:36:13 +0800 Subject: chore!: rename ErrorDispatcherNotFound to EntryFallback Rename the internal fallback type and its associated `ProgramCollect` plumbing from `ErrorDispatcherNotFound`/`build_dispatcher_not_found` to `EntryFallback`/`build_entry_fallback`, along with the generated enum variant and pack type. Update all documentation, examples, and tests accordingly. --- examples/full-todolist/src/help.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/full-todolist/src/help.rs') diff --git a/examples/full-todolist/src/help.rs b/examples/full-todolist/src/help.rs index 2f8228a..48b93f2 100644 --- a/examples/full-todolist/src/help.rs +++ b/examples/full-todolist/src/help.rs @@ -1,12 +1,12 @@ //! This module provides help information for the `todolist` command line program -use crate::{EntryAdd, EntryClean, EntryComplete, EntryList, ErrorDispatcherNotFound}; +use crate::{EntryAdd, EntryClean, EntryComplete, EntryList, EntryFallback}; use mingling::{RenderResult, macros::help}; use std::io::Write; /// Shows the global help message. #[help] -pub fn help_global(_p: ErrorDispatcherNotFound) -> RenderResult { +pub fn help_global(_p: EntryFallback) -> RenderResult { let mut render_result = RenderResult::new(); writeln!( render_result, -- cgit