1
Fork 0

Remove some unnecessary .into() calls

This commit is contained in:
Esteban Küber 2025-01-08 21:18:46 +00:00
parent a580b5c379
commit eb917ea24d
7 changed files with 11 additions and 13 deletions

View file

@ -2366,8 +2366,7 @@ fn string_to_tts_1() {
token::Ident(sym::i32, IdentIsRaw::No),
sp(8, 11),
),
])
.into(),
]),
),
TokenTree::Delimited(
DelimSpan::from_pair(sp(13, 14), sp(18, 19)),
@ -2383,8 +2382,7 @@ fn string_to_tts_1() {
),
// `Alone` because the `;` is followed by whitespace.
TokenTree::token_alone(token::Semi, sp(16, 17)),
])
.into(),
]),
),
]);