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 /src/cmds/cmd/helpdoc.rs | |
| parent | 6b22f7b7694fce530f84ba94c65c057450cca626 (diff) | |
Refactor code to use modern Rust idioms and fix clippy lints
Diffstat (limited to 'src/cmds/cmd/helpdoc.rs')
| -rw-r--r-- | src/cmds/cmd/helpdoc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds/cmd/helpdoc.rs b/src/cmds/cmd/helpdoc.rs index 74f4c7e..f4c7acf 100644 --- a/src/cmds/cmd/helpdoc.rs +++ b/src/cmds/cmd/helpdoc.rs @@ -38,7 +38,7 @@ async fn collect(_args: &Arg, _ctx: &JVCommandContext) -> Result<Collect, CmdPre #[exec] async fn exec(input: In, _collect: Collect) -> Result<AnyOutput, CmdExecuteError> { - helpdoc_viewer::display_with_lang(&input.name.as_str(), &input.lang.as_str()).await; + helpdoc_viewer::display_with_lang(input.name.as_str(), input.lang.as_str()).await; cmd_output!(JVNoneOutput => JVNoneOutput) } |
