Skip to content

Commit

Permalink
Remove two no-op into() calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Oct 18, 2019
1 parent fa0f7d0 commit d0eaf60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libsyntax/parse/parser.rs
Expand Up @@ -285,10 +285,10 @@ impl TokenCursor {
token::NoDelim,
&if doc_comment_style(&name.as_str()) == AttrStyle::Inner {
[TokenTree::token(token::Pound, sp), TokenTree::token(token::Not, sp), body]
.iter().cloned().collect::<TokenStream>().into()
.iter().cloned().collect::<TokenStream>()
} else {
[TokenTree::token(token::Pound, sp), body]
.iter().cloned().collect::<TokenStream>().into()
.iter().cloned().collect::<TokenStream>()
},
)));

Expand Down

0 comments on commit d0eaf60

Please sign in to comment.