Skip to content

Commit

Permalink
Add #[derive(Clone)] to TokenTreeIter
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-fairy committed Jul 17, 2017
1 parent 88cf76a commit b525abb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libproc_macro/lib.rs
Expand Up @@ -375,6 +375,7 @@ impl Literal {
}

/// An iterator over `TokenTree`s.
#[derive(Clone)]
#[unstable(feature = "proc_macro", issue = "38356")]
pub struct TokenTreeIter {
cursor: tokenstream::Cursor,
Expand Down

0 comments on commit b525abb

Please sign in to comment.