From baeceb6b14bd08fc0ff1e8c3b7002feb65bc93c3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 24 Jul 2021 16:35:59 +0100 Subject: [PATCH] config: Get rid of Default Signed-off-by: Ian Jackson --- src/config.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index 2e57b49..b03e639 100644 --- a/src/config.rs +++ b/src/config.rs @@ -119,7 +119,6 @@ pub enum SectionName { ServerLimit(ServerName), GlobalLimit, Common, - Default, } pub use SectionName as SN; @@ -173,7 +172,6 @@ impl FromStr for SectionName { fn from_str(s: &str) -> Self { match s { "COMMON" => return SN::Common, - "DEFAULT" => return SN::Default, "LIMIT" => return SN::GlobalLimit, _ => { } }; -- 2.30.2