Skip to content

Commit 87cc5be

Browse files
chore: Apply suggestions
This snuck in because rust-analyzer doesn't remove trailing commas the same way it does for the format! macro. Co-authored-by: Nick <[email protected]>
1 parent 9d98236 commit 87cc5be

File tree

1 file changed

+2
-2
lines changed
  • crates/stackable-versioned-macros/src/codegen/common

1 file changed

+2
-2
lines changed

crates/stackable-versioned-macros/src/codegen/common/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub(crate) fn remove_deprecated_field_prefix(ident: &Ident) -> Ident {
6161
let ident = ident.to_string();
6262
let ident = ident.trim_start_matches(DEPRECATED_FIELD_PREFIX);
6363

64-
format_ident!("{ident}",)
64+
format_ident!("{ident}")
6565
}
6666

6767
/// Removes the deprecated prefix from a variant ident.
@@ -77,5 +77,5 @@ pub(crate) fn remove_deprecated_variant_prefix(ident: &Ident) -> Ident {
7777
.trim_start_matches(DEPRECATED_VARIANT_PREFIX)
7878
.trim_start_matches('_');
7979

80-
format_ident!("{ident}",)
80+
format_ident!("{ident}")
8181
}

0 commit comments

Comments
 (0)