1
0
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:
Alex 2023-01-03 00:00:42 +00:00 committed by GitHub
parent e772e203da
commit 7efb86efbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,