Skip to content

Commit

Permalink
Unify macro metavariables for proj_vis
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 9, 2023
1 parent 220ea32 commit 92cc847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ macro_rules! __pin_project_parse_generics {
[$($proj_replace_ident:ident)?]
[$($proj_not_unpin_mark:ident)?]
[$($attrs:tt)*]
[$vis:vis $struct_ty_ident:ident $ident:ident $proj_ty_vis:vis]
[$vis:vis $struct_ty_ident:ident $ident:ident $proj_vis:vis]
$(<
$( $lifetime:lifetime $(: $lifetime_bound:lifetime)? ),* $(,)?
$( $generics:ident
Expand All @@ -1574,7 +1574,7 @@ macro_rules! __pin_project_parse_generics {
[$($proj_ref_ident)?]
[$($proj_replace_ident)?]
[$($proj_not_unpin_mark)?]
[$proj_ty_vis]
[$proj_vis]
[$($attrs)* $vis $struct_ty_ident $ident]
[$(<
$( $lifetime $(: $lifetime_bound)? ,)*
Expand Down

0 comments on commit 92cc847

Please sign in to comment.