chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42ff525
)
config: Get rid of Default
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 24 Jul 2021 15:35:59 +0000
(16:35 +0100)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/src/config.rs
b/src/config.rs
index 2e57b49dcf4e3ccea482bf11dfccc05cde37397a..b03e6395c8a302e27847932a6129d96c83464e81 100644
(file)
--- 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,
_ => { }
};