From 8e29cb575f4534c4c723699164db7315a970f1ec Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 7 Jan 2020 15:22:20 +0000 Subject: Remove unused code after structopt transition In the previous patches, we replaced argparse with structopt and removed the argparse dependency. This patch removes the code that was only needed for argparse. --- src/main.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 831717e..9e81bf8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -86,7 +86,6 @@ use crate::error::Error; type Result = result::Result; -const NITROCLI: &str = "nitrocli"; 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"; -- cgit v1.2.1