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

Refactor away unnecessary use of regex #7945

Merged
merged 1 commit into from Oct 10, 2015

Conversation

@pierrechevalier83
Copy link
Contributor

pierrechevalier83 commented Oct 9, 2015

We don't need regex matching since ": &Vec<" doesn't
contain any special character.

New code reads better.

Fixes #7914.

Review on Reviewable

We don't need regex matching since ": &Vec<" doesn't
contain any special character.

New code reads better.

Fixes #7914.
@jdm
Copy link
Member

jdm commented Oct 9, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Oct 9, 2015

📌 Commit d2481c3 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Oct 9, 2015

Testing commit d2481c3 with merge 5aed774...

bors-servo pushed a commit that referenced this pull request Oct 9, 2015
Refactor away unnecessary use of regex

We don't need regex matching since ": &Vec<" doesn't
contain any special character.

New code reads better.

Fixes #7914.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7945)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 9, 2015

💔 Test failed - linux-rel

@jdm
Copy link
Member

jdm commented Oct 10, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Oct 10, 2015

Testing commit d2481c3 with merge 1192efe...

bors-servo pushed a commit that referenced this pull request Oct 10, 2015
Refactor away unnecessary use of regex

We don't need regex matching since ": &Vec<" doesn't
contain any special character.

New code reads better.

Fixes #7914.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7945)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 10, 2015

@bors-servo bors-servo merged commit d2481c3 into servo:master Oct 10, 2015
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@pierrechevalier83 pierrechevalier83 deleted the pierrechevalier83:fix_issue_7914 branch Oct 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.