diff options
author | boasting-squirrel <boasting.squirrel@gmail.com> | 2019-04-07 11:27:25 +0000 |
---|---|---|
committer | boasting-squirrel <boasting.squirrel@gmail.com> | 2019-04-07 11:27:25 +0000 |
commit | bbdafc3e121942c95ba81db1cba30fe438d88dfb (patch) | |
tree | 26edf6679242462eff4d97c0ee14f84b055003ae /src/args.rs | |
parent | Fix CSS bug (diff) | |
download | miniserve-bbdafc3e121942c95ba81db1cba30fe438d88dfb.tar.gz miniserve-bbdafc3e121942c95ba81db1cba30fe438d88dfb.zip |
Use strum to reduce boilerplate on ColorScheme enum + removed useless Debug derives
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs index 3e54d08..516e0b6 100644 --- a/src/args.rs +++ b/src/args.rs @@ -10,7 +10,7 @@ const ROUTE_ALPHABET: [char; 16] = [ '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', 'a', 'b', 'c', 'd', 'e', 'f', ]; -#[derive(StructOpt, Debug)] +#[derive(StructOpt)] #[structopt( name = "miniserve", raw(global_settings = "&[structopt::clap::AppSettings::ColoredHelp]") |