From: Ian Jackson Date: Sat, 24 Jul 2021 15:35:59 +0000 (+0100) Subject: config: Get rid of Default X-Git-Tag: hippotat/1.0.0~471 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=baeceb6b14bd08fc0ff1e8c3b7002feb65bc93c3;p=hippotat.git config: Get rid of Default Signed-off-by: Ian Jackson --- 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, _ => { } };