aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/comp/comp_ctx.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-04 14:26:14 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-04 14:26:14 +0800
commit5b281566c7ba56d3de1cdc9f0909da6eb32884ab (patch)
tree438f640076c90e0c03c2d1dc38625768d84e380c /mingling_core/src/comp/comp_ctx.rs
parent26ef5d88f36f69bb856aedc7bb50138933d1e036 (diff)
refactor(dispatch_tree): match longest registered prefix in trie
Refactor `build_dispatch_body` to take a caller-provided `no_match` fallback token stream instead of hardcoding `build_entry_fallback` calls. Thread the fallback through recursive calls so child paths are preferred over exact endpoints at the same depth, matching the dynamic dispatcher's longest-prefix-wins behavior.
Diffstat (limited to 'mingling_core/src/comp/comp_ctx.rs')
0 files changed, 0 insertions, 0 deletions