From 772d743696474807fccc045ae41df35fc9332e12 Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Wed, 10 Mar 2021 01:30:58 +0100 Subject: [PATCH] chore: remove useless question mark and return Result instead --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 9f539e1..de431ab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,7 +41,7 @@ impl MenuCommand { fn run(args: Args) -> Result<()> { if let Some(SubCommand::Completions(completions)) = args.subcommand { - return Ok(args::gen_completions(&completions)?); + return args::gen_completions(&completions); } let hasher = RandomState::new();