add todo to CommandTree formatting
This commit is contained in:
1 parent
92e6d264b4
commit
fd544b52ed
1 file changed
+2
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user