Skip to content

Commit

Permalink
former : experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandalen committed Apr 15, 2024
1 parent b7271e4 commit bf04a00
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions module/core/former_meta/src/derive/former.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1089,10 +1089,11 @@ pub fn former( input : proc_macro::TokenStream ) -> Result< TokenStream >
};


if has_debug
{
println!( "= a =" );
}
// xxx
// if has_debug
// {
// println!( "= a =" );
// }

// parameters for definition
// let mut definition_extra_generics : macro_tools::GenericsWithWhere = parse_quote!
Expand All @@ -1104,11 +1105,11 @@ pub fn former( input : proc_macro::TokenStream ) -> Result< TokenStream >
// let generics_of_definition = generics::merge( &generics, &definition_extra_generics.into() );
let generics_of_definition = definition_extra_generics;

// xxx
if has_debug
{
println!( "= b =" );
}
// // xxx
// if has_debug
// {
// println!( "= b =" );
// }

// parameters for former
let mut former_extra_generics : macro_tools::GenericsWithWhere = parse_quote!
Expand Down

0 comments on commit bf04a00

Please sign in to comment.