Skip to content

Commit 93f923b

Browse files
committed
chore: fix clippy warning
1 parent 282f755 commit 93f923b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arguments/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub enum CotpSubcommands {
5656

5757
pub fn args_parser(matches: CotpArgs, read_result: OTPDatabase) -> color_eyre::Result<OTPDatabase> {
5858
if let Some(command) = matches.command {
59-
CotpSubcommands::from(command).run_command(read_result)
59+
command.run_command(read_result)
6060
} else {
6161
dashboard(read_result).map_err(|e| eyre!("An error occurred: {e}"))
6262
}

0 commit comments

Comments
 (0)