mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-23 17:08:10 -07:00
global: snapshot
This commit is contained in:
@@ -395,6 +395,7 @@ fn generate_field_traversals(infos: &[FieldInfo], merge: bool) -> proc_macro2::T
|
||||
let field_name = info.name;
|
||||
let field_name_str = {
|
||||
let s = field_name.to_string();
|
||||
let s = s.strip_prefix("r#").unwrap_or(&s).to_string();
|
||||
s.strip_prefix('_').map(String::from).unwrap_or(s)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user