Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add #[derive(Clone)] to TokenTreeIter #43280

Merged
merged 1 commit into from
Jul 24, 2017
Merged

Add #[derive(Clone)] to TokenTreeIter #43280

merged 1 commit into from
Jul 24, 2017

Conversation

lambda-fairy
Copy link
Contributor

I've found this useful for writing backtracking parsers.

The underlying Cursor implements Clone already, so it's just a matter of adding #[derive(Clone)] to the type.

r? @jseyfried

@carols10cents carols10cents added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 17, 2017
@alexcrichton
Copy link
Member

cc @nrc, you may also be able to take a look at this!

@nrc
Copy link
Member

nrc commented Jul 20, 2017

@bors: r+

@bors
Copy link
Contributor

bors commented Jul 20, 2017

📌 Commit b525abb has been approved by nrc

@frewsxcv
Copy link
Member

@bors rollup

@bors
Copy link
Contributor

bors commented Jul 21, 2017

⌛ Testing commit b525abb with merge 1bdd10ce04329ec3e2ceaeb26a905f61441799a3...

@bors
Copy link
Contributor

bors commented Jul 21, 2017

💔 Test failed - status-travis

@aidanhs
Copy link
Member

aidanhs commented Jul 21, 2017

Spurious failure, having a look, cc #43319, #43343, #43344

@aidanhs
Copy link
Member

aidanhs commented Jul 21, 2017

@bors retry

(a current retried build appears to have got past the issue, so the cached dockerfile should be used from now on which will hopefully resolve the issue)

TimNN added a commit to TimNN/rust that referenced this pull request Jul 21, 2017
Add #[derive(Clone)] to TokenTreeIter

I've found this useful for writing backtracking parsers.

The underlying `Cursor` implements `Clone` already, so it's just a matter of adding `#[derive(Clone)]` to the type.

r? @jseyfried
bors added a commit that referenced this pull request Jul 21, 2017
Rollup of 8 pull requests

- Successful merges: #43046, #43256, #43280, #43297, #43313, #43319, #43322, #43343
- Failed merges:
@bors
Copy link
Contributor

bors commented Jul 24, 2017

⌛ Testing commit b525abb with merge 9a70c3a...

bors added a commit that referenced this pull request Jul 24, 2017
Add #[derive(Clone)] to TokenTreeIter

I've found this useful for writing backtracking parsers.

The underlying `Cursor` implements `Clone` already, so it's just a matter of adding `#[derive(Clone)]` to the type.

r? @jseyfried
@bors
Copy link
Contributor

bors commented Jul 24, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: nrc
Pushing 9a70c3a to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants