Grammar: remove the dead CommandNode.hint_mode field

HintMode became per-node (Node::Hinted) in the node-attached refactor;
the per-command hint_mode field was never the mechanism and is now
read by nothing. Removed the field and its 20 `None` initialisers.
This commit is contained in:
claude@clouddev1
2026-05-15 22:54:24 +00:00
parent 5fa3460ff6
commit 6d2b92996d
4 changed files with 20 additions and 62 deletions
-2
View File
@@ -364,8 +364,6 @@ pub struct CommandNode {
/// carry every variant so the user sees the full family on a
/// generic-entry-word failure.
pub usage_ids: &'static [&'static str],
#[allow(dead_code)]
pub hint_mode: Option<HintMode>,
}
/// Look up the usage catalog keys for the entry word at the start