add todo to CommandTree formatting

This commit is contained in:
user622628252416 committed 2024-08-20 17:09:03 +02:00
1 parent 92e6d264b4
commit fd544b52ed
1 file changed
+2
+2
View File
@@ -53,6 +53,8 @@ impl<'a> CommandTree<'a> {
} }
/// format possible paths as [String], using ```name``` as the command name /// 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 { pub(crate) fn paths_formatted(&'a self, name: &str) -> String {
let paths: Vec<Vec<&NodeType>> = self let paths: Vec<Vec<&NodeType>> = self
.iter_paths() .iter_paths()