refact(action)

This commit is contained in:
steven-omaha committed 2023-05-23 13:11:49 +02:00
1 parent 87569de3c9
commit 79c9e51e8c
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -63,7 +63,8 @@ where
{
let expanded = quote! {
impl #name {
pub const fn name(&self) -> &'static str {
/// Return the lowercase name of the enum variant as `&str`.
const fn name(&self) -> &'static str {
match self {
#(#variant_description)*
}