Skip to content

Commit b525abb

Browse files
committed
Add #[derive(Clone)] to TokenTreeIter
1 parent 88cf76a commit b525abb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libproc_macro/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ impl Literal {
375375
}
376376

377377
/// An iterator over `TokenTree`s.
378+
#[derive(Clone)]
378379
#[unstable(feature = "proc_macro", issue = "38356")]
379380
pub struct TokenTreeIter {
380381
cursor: tokenstream::Cursor,

0 commit comments

Comments
 (0)