Remove two no-op into() calls.
This commit is contained in:
parent
fa0f7d0080
commit
d0eaf60d5e
1 changed files with 2 additions and 2 deletions
|
|
@ -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>()
|
||||
},
|
||||
)));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue