We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85ef265 commit 4a4a7f8Copy full SHA for 4a4a7f8
compiler/rustc_expand/src/base.rs
@@ -312,7 +312,7 @@ where
312
ts: TokenStream,
313
) -> Result<TokenStream, ErrorReported> {
314
// FIXME setup implicit context in TLS before calling self.
315
- Ok((*self)(ts))
+ Ok(self(ts))
316
}
317
318
@@ -338,7 +338,7 @@ where
338
annotated: TokenStream,
339
340
341
- Ok((*self)(annotation, annotated))
+ Ok(self(annotation, annotated))
342
343
344
@@ -365,7 +365,7 @@ where
365
span: Span,
366
input: TokenStream,
367
) -> Box<dyn MacResult + 'cx> {
368
- (*self)(ecx, span, input)
+ self(ecx, span, input)
369
370
371
0 commit comments