aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 4e6b01d..5af10bb 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -79,8 +79,6 @@ use std::ffi;
use std::io;
use std::process;
-use anyhow::Result;
-
const NITROCLI_ADMIN_PIN: &str = "NITROCLI_ADMIN_PIN";
const NITROCLI_USER_PIN: &str = "NITROCLI_USER_PIN";
const NITROCLI_NEW_ADMIN_PIN: &str = "NITROCLI_NEW_ADMIN_PIN";
@@ -140,7 +138,7 @@ impl<'io> Stdio for ExecCtx<'io> {
}
/// Parse the command-line arguments and execute the selected command.
-fn handle_arguments(ctx: &mut RunCtx<'_>, args: Vec<String>) -> Result<()> {
+fn handle_arguments(ctx: &mut RunCtx<'_>, args: Vec<String>) -> anyhow::Result<()> {
use structopt::StructOpt;
match args::Args::from_iter_safe(args.iter()) {