diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-20 22:21:56 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-20 22:21:56 +0800 |
| commit | ab6be7968b25afb57fc428695693484ad8576718 (patch) | |
| tree | e4af27964f195a18a678844dbe71c0aaa182b5dc /templates | |
| parent | 6b22f7b7694fce530f84ba94c65c057450cca626 (diff) | |
Refactor code to use modern Rust idioms and fix clippy lints
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/_commands.rs.template | 2 |
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 |
