mirror of
https://github.com/danog/strum.git
synced 2024-11-26 20:14:40 +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;
|
/// use strum::VariantNames;
|
||||||
///
|
///
|
||||||
/// #[derive(Debug, EnumString, EnumVariantNames)]
|
/// #[derive(Debug, EnumString, EnumVariantNames)]
|
||||||
/// #[strum(serialize_all = "kebab_case")]
|
/// #[strum(serialize_all = "kebab-case")]
|
||||||
/// enum Color {
|
/// enum Color {
|
||||||
/// Red,
|
/// Red,
|
||||||
/// Blue,
|
/// Blue,
|
||||||
|
Loading…
Reference in New Issue
Block a user