(topics: &mut Trie<String, Box<dyn Topic>>, topic: Box<dyn Topic>)
| 311 | /// Builds an index of the given `callables` and returns a new collection of help topics. |
| 312 | fn new(callables: &HashMap<SymbolKey, Rc<CallableMetadata>>) -> Self { |
| 313 | fn insert(topics: &mut Trie<String, Box<dyn Topic>>, topic: Box<dyn Topic>) { |
| 314 | let key = topic.name().to_ascii_uppercase(); |
| 315 | topics.insert(key, topic); |
| 316 | } |
| 317 | |
| 318 | let mut topics = Trie::default(); |
| 319 |
no test coverage detected