We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f100ba + 12f9352 commit 4ca16a0Copy full SHA for 4ca16a0
src/parse.rs
@@ -819,7 +819,7 @@ fn doc_comment(input: Cursor) -> PResult<Vec<TokenTree>> {
819
for tt in &mut stream {
820
tt.set_span(span);
821
}
822
- let group = Group::new(Delimiter::Bracket, stream.into_iter().collect());
+ let group = Group::new(Delimiter::Bracket, TokenStream { inner: stream });
823
trees.push(crate::Group::_new_stable(group).into());
824
for tt in &mut trees {
825
0 commit comments