summaryrefslogtreecommitdiff
path: root/templates/_commands.rs.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_commands.rs.template')
-rw-r--r--templates/_commands.rs.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_commands.rs.template b/templates/_commands.rs.template
index c11e312..512db2c 100644
--- a/templates/_commands.rs.template
+++ b/templates/_commands.rs.template
@@ -13,7 +13,7 @@ pub async fn jv_cmd_process_node(
>>>>>>>>>> command_match_arms
_ => {}
}
- return Err(CmdProcessError::NoNodeFound(node.to_string()));
+ Err(CmdProcessError::NoNodeFound(node.to_string()))
}
/// Get all command nodes