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>(
220220 MatchedTokenTree ( tt) => {
221221 // `tt`s are emitted into the output stream directly as "raw tokens",
222222 // without wrapping them into groups.
223- let token = tt. clone ( ) ;
224- result. push ( token) ;
223+ result. push ( tt. clone ( ) ) ;
225224 }
226225 MatchedNonterminal ( nt) => {
227226 // Other variables are emitted into the output stream as groups with
228227 // `Delimiter::Invisible` to maintain parsing priorities.
229228 // `Interpolated` is currently used for such groups in rustc parser.
230229 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 ) ) ;
233232 }
234233 MatchedSeq ( ..) => {
235234 // We were unable to descend far enough. This is an error.
You can’t perform that action at this time.
0 commit comments