From 793230b8ef73c3d775024087cb92e731c7b9e5bb Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Wed, 10 Feb 2021 02:01:30 +0100 Subject: [PATCH] fix: lint warnings --- src/config.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/config.rs b/src/config.rs index 1d42404..976cadc 100644 --- a/src/config.rs +++ b/src/config.rs @@ -82,11 +82,7 @@ pub struct Options { /// Specify a CORS list of allowed origin hosts separated by comas. Host ports or protocols aren't being checked. Use an asterisk (*) to allow any host. pub cors_allow_origins: String, - #[structopt( - long, - short = "i", - env = "SERVER_DIRECTORY_LISTING" - )] + #[structopt(long, short = "i", env = "SERVER_DIRECTORY_LISTING")] /// Enable directory listing for all requests ending with the slash character (‘/’). pub directory_listing: bool, } -- libgit2 1.7.2