Skip to content

Commit

Permalink
rnet-macros: Fix deref which would be done by auto-deref
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Castello <[email protected]>
  • Loading branch information
microhobby committed Nov 15, 2023
1 parent af506f3 commit 031a69d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rnet-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ fn net_impl(attr: TokenStream, item: TokenStream) -> Result<TokenStream2> {
lifetime: Lifetime::new("'net", Span::call_site()),
};
let local_arg_types = arg_types.iter().cloned().map(|mut arg| {
lifetime_injector.visit_type_mut(&mut *arg);
lifetime_injector.visit_type_mut(&mut arg);
arg
});

Expand Down

0 comments on commit 031a69d

Please sign in to comment.