From 92cc847c47c01f86af2cad043ac2fbf682f25f5f Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Wed, 9 Aug 2023 23:12:21 +0900 Subject: [PATCH] Unify macro metavariables for proj_vis --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 3da246e..3eeb9f9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 @@ -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)? ,)*