Skip to content

Commit

Permalink
Fix bug in ForLt! non-fn_traits muncher
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhenrymantilla committed Jul 21, 2023
1 parent d7b60a6 commit f4fa3bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hkt_muncher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ macro_rules! ඞForLt_munch {
$mode
});

// case `&'_` (explicit elision)
// case `&'lifetime` (including `&'_`)
(
[output:
$($acc:tt)*
]
[input:
&
'_
$lifetime:lifetime
$($rest:tt)*
]
$mode:tt
Expand All @@ -38,13 +38,13 @@ macro_rules! ඞForLt_munch {
&
]
[input:
'_
$lifetime
$($rest)*
]
$mode
});

// case `&` (implicit elision)
// case `& /* no lifetime */` (implicit elision)
(
$acc:tt
[input:
Expand Down

0 comments on commit f4fa3bd

Please sign in to comment.