From 392d1b9916382f7b938bee651237b179ee0f3750 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 12 May 2022 00:02:31 +0100 Subject: [PATCH] ambassador: impl_via_ambassador: Put back the type name IDK what ambassador's body_struct etc. macros might use this for in the future. Keeping to the pattern that was in response to my MR seems wisest ? Signed-off-by: Ian Jackson --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index 40d3031b..f9b969c7 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -782,7 +782,7 @@ macro_rules! impl_via_ambassador{ } => { paste!{ $( #[ $attr ] )* impl $Trait for $Type { - [< ambassador_impl_ $Trait >]!{ body_struct( <>, _, + [< ambassador_impl_ $Trait >]!{ body_struct( <>, dyn $Trait, (), ($($how_immut)*), () -- 2.30.2