add todo to CommandTree formatting

This commit is contained in:
user622628252416 2024-08-20 17:03:30 +02:00
parent 92e6d264b4
commit fd544b52ed

View File

@ -53,6 +53,8 @@ impl<'a> CommandTree<'a> {
}
/// format possible paths as [String], using ```name``` as the command name
///
/// todo: merge into single line
pub(crate) fn paths_formatted(&'a self, name: &str) -> String {
let paths: Vec<Vec<&NodeType>> = self
.iter_paths()