From 7efb86efbece548129256aaca6a3f23ac43be3a3 Mon Sep 17 00:00:00 2001 From: Alex <31861012+squ1dd13@users.noreply.github.com> Date: Tue, 3 Jan 2023 00:00:42 +0000 Subject: [PATCH] Change `kebab_case` to `kebab-case` in example (#248) --- strum_macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strum_macros/src/lib.rs b/strum_macros/src/lib.rs index 413f9fd..f184a12 100644 --- a/strum_macros/src/lib.rs +++ b/strum_macros/src/lib.rs @@ -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,