@@ -431,7 +431,9 @@ fn run_client<A: for<'a, 's> DecodeMut<'a, 's, ()>, R: Encode<()>>(
431
431
}
432
432
433
433
impl Client < super :: super :: TokenStream , super :: super :: TokenStream > {
434
- pub const fn expand1 ( f : impl Fn ( super :: super :: TokenStream ) -> super :: super :: TokenStream + Copy ) -> Self {
434
+ pub const fn expand1 (
435
+ f : impl Fn ( super :: super :: TokenStream ) -> super :: super :: TokenStream + Copy ,
436
+ ) -> Self {
435
437
Client {
436
438
get_handle_counters : HandleCounters :: get,
437
439
run : super :: selfless_reify:: reify_to_extern_c_fn_hrt_bridge ( move |bridge| {
@@ -444,7 +446,8 @@ impl Client<super::super::TokenStream, super::super::TokenStream> {
444
446
445
447
impl Client < ( super :: super :: TokenStream , super :: super :: TokenStream ) , super :: super :: TokenStream > {
446
448
pub const fn expand2 (
447
- f : impl Fn ( super :: super :: TokenStream , super :: super :: TokenStream ) -> super :: super :: TokenStream + Copy ,
449
+ f : impl Fn ( super :: super :: TokenStream , super :: super :: TokenStream ) -> super :: super :: TokenStream
450
+ + Copy ,
448
451
) -> Self {
449
452
Client {
450
453
get_handle_counters : HandleCounters :: get,
@@ -469,7 +472,10 @@ pub enum ProcMacro {
469
472
470
473
Attr {
471
474
name : & ' static str ,
472
- client : Client < ( super :: super :: TokenStream , super :: super :: TokenStream ) , super :: super :: TokenStream > ,
475
+ client : Client <
476
+ ( super :: super :: TokenStream , super :: super :: TokenStream ) ,
477
+ super :: super :: TokenStream ,
478
+ > ,
473
479
} ,
474
480
475
481
Bang {
@@ -497,7 +503,8 @@ impl ProcMacro {
497
503
498
504
pub const fn attr (
499
505
name : & ' static str ,
500
- expand : impl Fn ( super :: super :: TokenStream , super :: super :: TokenStream ) -> super :: super :: TokenStream + Copy ,
506
+ expand : impl Fn ( super :: super :: TokenStream , super :: super :: TokenStream ) -> super :: super :: TokenStream
507
+ + Copy ,
501
508
) -> Self {
502
509
ProcMacro :: Attr { name, client : Client :: expand2 ( expand) }
503
510
}
0 commit comments