chiark / gitweb /
config: Get rid of Default
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 24 Jul 2021 15:35:59 +0000 (16:35 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 24 Jul 2021 15:35:59 +0000 (16:35 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/config.rs

index 2e57b49dcf4e3ccea482bf11dfccc05cde37397a..b03e6395c8a302e27847932a6129d96c83464e81 100644 (file)
@@ -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,
       _ => { }
     };