expand: Minor fn ptr call cleanup
This commit is contained in:
parent
85ef265dbe
commit
4a4a7f8599
1 changed files with 3 additions and 3 deletions
|
@ -312,7 +312,7 @@ where
|
|||
ts: TokenStream,
|
||||
) -> Result<TokenStream, ErrorReported> {
|
||||
// FIXME setup implicit context in TLS before calling self.
|
||||
Ok((*self)(ts))
|
||||
Ok(self(ts))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -338,7 +338,7 @@ where
|
|||
annotated: TokenStream,
|
||||
) -> Result<TokenStream, ErrorReported> {
|
||||
// FIXME setup implicit context in TLS before calling self.
|
||||
Ok((*self)(annotation, annotated))
|
||||
Ok(self(annotation, annotated))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -365,7 +365,7 @@ where
|
|||
span: Span,
|
||||
input: TokenStream,
|
||||
) -> Box<dyn MacResult + 'cx> {
|
||||
(*self)(ecx, span, input)
|
||||
self(ecx, span, input)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue