pub fn collect_docs(items: &[&Node]) -> BTreeMap<Arc<str>, Arc<str>>Expand description
Collect every doc comment in a module’s top-level items, keyed by the name it documents.
The key for a nested declaration is qualified — Todo.text, Event.Toggled — so one flat map
serves the whole module and nothing has to be threaded through the checker.