mirror of
https://github.com/danog/strum.git
synced 2024-11-26 12:04:38 +01:00
Change kebab_case
to kebab-case
in example (#248)
This commit is contained in:
parent
e772e203da
commit
7efb86efbe
@ -175,7 +175,7 @@ pub fn as_ref_str(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
|
||||
/// use strum::VariantNames;
|
||||
///
|
||||
/// #[derive(Debug, EnumString, EnumVariantNames)]
|
||||
/// #[strum(serialize_all = "kebab_case")]
|
||||
/// #[strum(serialize_all = "kebab-case")]
|
||||
/// enum Color {
|
||||
/// Red,
|
||||
/// Blue,
|
||||
|
Loading…
Reference in New Issue
Block a user