We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828200e commit 9d98236Copy full SHA for 9d98236
crates/stackable-versioned-macros/src/codegen/common/mod.rs
@@ -70,7 +70,8 @@ pub(crate) fn remove_deprecated_field_prefix(ident: &Ident) -> Ident {
70
pub(crate) fn remove_deprecated_variant_prefix(ident: &Ident) -> Ident {
71
// NOTE (@Techassi): Currently Clippy only issues a warning for variants
72
// 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.
+ // leading underscore from the ident to use the expected name during code
74
+ // generation.
75
let ident = ident.to_string();
76
let ident = ident
77
.trim_start_matches(DEPRECATED_VARIANT_PREFIX)
0 commit comments