diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-03 13:36:13 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-03 13:36:13 +0800 |
| commit | 9c8f5c8d60f3066fec8a1573aa3f5673e0b2ecb8 (patch) | |
| tree | 99a5de6f698310215163ffd488de2354c4b7fb3e /mingling_core/src/program/collection/mock.rs | |
| parent | 82372181d3b819ce57b04207f42406c188e42ac9 (diff) | |
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.
Diffstat (limited to 'mingling_core/src/program/collection/mock.rs')
| -rw-r--r-- | mingling_core/src/program/collection/mock.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mingling_core/src/program/collection/mock.rs b/mingling_core/src/program/collection/mock.rs index dbe4789..cd2abf5 100644 --- a/mingling_core/src/program/collection/mock.rs +++ b/mingling_core/src/program/collection/mock.rs @@ -34,7 +34,7 @@ unsafe impl Grouped<MockProgramCollect> for MockProgramCollect { impl ProgramCollect for MockProgramCollect { type Enum = MockProgramCollect; - type ErrorDispatcherNotFound = MockProgramCollect; + type EntryFallback = MockProgramCollect; type ErrorRendererNotFound = MockProgramCollect; type ResultEmpty = MockProgramCollect; @@ -54,7 +54,7 @@ impl ProgramCollect for MockProgramCollect { unreachable!() } - fn build_dispatcher_not_found(_args: Vec<String>) -> AnyOutput<Self::Enum> { + fn build_entry_fallback(_args: Vec<String>) -> AnyOutput<Self::Enum> { unreachable!() } |
