Skip to content

Commit 08afe1f

Browse files
committed
Remove two no-op into() calls.
1 parent de01889 commit 08afe1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/parse/parser.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,10 @@ impl TokenCursor {
285285
token::NoDelim,
286286
&if doc_comment_style(&name.as_str()) == AttrStyle::Inner {
287287
[TokenTree::token(token::Pound, sp), TokenTree::token(token::Not, sp), body]
288-
.iter().cloned().collect::<TokenStream>().into()
288+
.iter().cloned().collect::<TokenStream>()
289289
} else {
290290
[TokenTree::token(token::Pound, sp), body]
291-
.iter().cloned().collect::<TokenStream>().into()
291+
.iter().cloned().collect::<TokenStream>()
292292
},
293293
)));
294294

0 commit comments

Comments
 (0)