Skip to content

Commit

Permalink
🚨 Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
turtton committed Oct 10, 2024
1 parent a6ea4b9 commit 148d95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ pub fn derive_name(input: TokenStream) -> TokenStream {
let variant_name = if let Some(prefix) = &prefix {
format!("{}_{}", prefix, parsed_indent)
} else {
format!("{}", parsed_indent)
parsed_indent.to_string()
};
match variant.fields {
Fields::Named(_) => {
Expand Down

0 comments on commit 148d95f

Please sign in to comment.