aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r--src/config/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index 533b44c..710376d 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -717,10 +717,6 @@ pub(crate) const OPTIONS: &[OptionSpec] = &[
},
];
-pub(crate) fn spec(name: &str) -> Option<&'static OptionSpec> {
- spec_in(OPTIONS, name)
-}
-
/// The option of `options` named `name`.
pub(super) fn spec_in(options: &'static [OptionSpec], name: &str) -> Option<&'static OptionSpec> {
options.iter().find(|spec| spec.name == name)