aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/program/collection.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_core/src/program/collection.rs')
-rw-r--r--mingling_core/src/program/collection.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/mingling_core/src/program/collection.rs b/mingling_core/src/program/collection.rs
index 5b1152a..66ec9f1 100644
--- a/mingling_core/src/program/collection.rs
+++ b/mingling_core/src/program/collection.rs
@@ -41,6 +41,10 @@ pub trait ProgramCollect {
#[cfg(not(feature = "dispatch_tree"))]
/// Use a prefix tree to quickly match arguments and dispatch to an Entry
+ ///
+ /// # Errors
+ ///
+ /// Returns an error if the program fails to execute the given arguments.
fn dispatch_args_trie(
_raw: &[String],
) -> Result<AnyOutput<Self::Enum>, crate::error::ProgramInternalExecuteError> {