Skip to content

Commit 9d98236

Browse files
chore: Apply suggestion
Co-authored-by: Nick <[email protected]>
1 parent 828200e commit 9d98236

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ pub(crate) fn remove_deprecated_field_prefix(ident: &Ident) -> Ident {
7070
pub(crate) fn remove_deprecated_variant_prefix(ident: &Ident) -> Ident {
7171
// NOTE (@Techassi): Currently Clippy only issues a warning for variants
7272
// with underscores in their name. That's why we additionally remove the
73-
// underscore from the ident to use the expected name during code generation.
73+
// leading underscore from the ident to use the expected name during code
74+
// generation.
7475
let ident = ident.to_string();
7576
let ident = ident
7677
.trim_start_matches(DEPRECATED_VARIANT_PREFIX)

0 commit comments

Comments
 (0)