File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
compiler/rustc_expand/src/mbe Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -220,16 +220,15 @@ pub(super) fn transcribe<'a>(
220
220
MatchedTokenTree ( tt) => {
221
221
// `tt`s are emitted into the output stream directly as "raw tokens",
222
222
// without wrapping them into groups.
223
- let token = tt. clone ( ) ;
224
- result. push ( token) ;
223
+ result. push ( tt. clone ( ) ) ;
225
224
}
226
225
MatchedNonterminal ( nt) => {
227
226
// Other variables are emitted into the output stream as groups with
228
227
// `Delimiter::Invisible` to maintain parsing priorities.
229
228
// `Interpolated` is currently used for such groups in rustc parser.
230
229
marker. visit_span ( & mut sp) ;
231
- let token = TokenTree :: token_alone ( token :: Interpolated ( nt . clone ( ) ) , sp ) ;
232
- result . push ( token) ;
230
+ result
231
+ . push ( TokenTree :: token_alone ( token:: Interpolated ( nt . clone ( ) ) , sp ) ) ;
233
232
}
234
233
MatchedSeq ( ..) => {
235
234
// We were unable to descend far enough. This is an error.
You can’t perform that action at this time.
0 commit comments