diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-10-16 09:30:28 +1100 | 
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-10-18 13:25:17 +1100 | 
| commit | d0eaf60d5e4bd0d5be63a41ed9ff861dca95c932 (patch) | |
| tree | 6344a0ac57d7a6437a2eaee9f952918a6e0c1c7f /src/libsyntax/parse/parser.rs | |
| parent | fa0f7d0080d8e7e9eb20aa9cbf8013f96c81287f (diff) | |
| download | rust-d0eaf60d5e4bd0d5be63a41ed9ff861dca95c932.tar.gz rust-d0eaf60d5e4bd0d5be63a41ed9ff861dca95c932.zip | |
Remove two no-op `into()` calls.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 9cb410a8ae3..6bbd8be0cb9 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -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>() }, ))); | 
