From cf5e9e1ac089bf85ce2021b3b6d9873fb86ee427 Mon Sep 17 00:00:00 2001 From: crapStone Date: Sat, 23 Oct 2021 23:05:49 +0200 Subject: [PATCH] remove unused function --- src/cli.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index a64ceca..213c47c 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -1,4 +1,4 @@ -use clap::{App, Arg, ArgGroup, ArgMatches}; +use clap::{App, Arg, ArgGroup}; pub fn build_cli() -> App<'static, 'static> { App::new("lamp") @@ -78,9 +78,3 @@ log: uses percentage values (0.0 - 1.0) with a logarithmic curve for the actual ), ) } - -/// Creates a argument parser with [clap](../clap/index.html) and returns a `Box` with the -/// [matches](../clap/struct.ArgMatches.html). -pub fn parse_args<'a>() -> Box> { - Box::new(build_cli().get_matches()) -}