aboutsummaryrefslogtreecommitdiff
path: root/arg_picker/src
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-10 16:54:46 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-10 16:54:46 +0800
commitd5b800200ab19b8dbb52535f459899e06885d66b (patch)
tree9c7b74c4f75df47288ed0ab692443b1afb148cfe /arg_picker/src
parent02e07a18fcb3af9319c271f6e41d5b7785e2e436 (diff)
feat(parselib): remove invalid naming case variants
Remove `Title`, `Lower`, and `Upper` variants from `ParserStyleNamingCase` as they are not valid naming conventions.
Diffstat (limited to 'arg_picker/src')
-rw-r--r--arg_picker/src/parselib/style.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/arg_picker/src/parselib/style.rs b/arg_picker/src/parselib/style.rs
index 81dfe72..9f7b38f 100644
--- a/arg_picker/src/parselib/style.rs
+++ b/arg_picker/src/parselib/style.rs
@@ -150,18 +150,6 @@ pub enum ParserStyleNamingCase {
///
/// Example: `brew.coffee`
Dot,
- /// `Title Case` format: words are separated by spaces, each word capitalized.
- ///
- /// Example: `Brew Coffee`
- Title,
- /// `lower case` format: words are separated by spaces, all lowercase.
- ///
- /// Example: `brew coffee`
- Lower,
- /// `UPPER CASE` format: words are separated by spaces, all uppercase.
- ///
- /// Example: `BREW COFFEE`
- Upper,
}
impl ParserStyleNamingCase {
@@ -192,9 +180,6 @@ impl ParserStyleNamingCase {
Self::Kebab => just_fmt::kebab_case!(s.into()).into(),
Self::Snake => just_fmt::snake_case!(s.into()).into(),
Self::Dot => just_fmt::dot_case!(s.into()).into(),
- Self::Title => just_fmt::title_case!(s.into()).into(),
- Self::Lower => just_fmt::lower_case!(s.into()).into(),
- Self::Upper => just_fmt::upper_case!(s.into()).into(),
}
}
}