Skip to content

convert match to if let for location header check #7969 - #7973

Merged
bors-servo merged 1 commit into
servo:masterfrom
creativcoder:fix_issue_7969
Oct 12, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
creativcoder:fix_issue_7969

Conversation

@creativcoder

Copy link
Copy Markdown
Contributor

@jdm Hi, very eager for my first pull request to Servo. Please review the changes.

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 11, 2015
@highfive

Copy link
Copy Markdown

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @mbrubeck (or someone else) soon.

@jdm

jdm commented Oct 11, 2015

Copy link
Copy Markdown
Member

Looking good! Just a couple stylistic changes required, and an opportunity to improve the code a little more!
-S-awaiting-review +S-needs-code-changes


Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 3 unresolved discussions, some commit checks pending.


components/net/http_loader.rs, line 639 [r1] (raw file):
Everything inside this if let block should be unindented by four spaces.


components/net/http_loader.rs, line 641 [r1] (raw file):
Want to make this an if let as well?


components/net/http_loader.rs, line 682 [r1] (raw file):
nit: these trailing spaces are reported as an error by ./mach test-tidy.


Comments from the review on Reviewable.io

@jdm jdm added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Oct 11, 2015
@jdm jdm self-assigned this Oct 11, 2015
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Oct 11, 2015
@creativcoder

Copy link
Copy Markdown
Contributor Author

Hi, made a commit after making the 3 changes you asked for. Please review.

@jdm

jdm commented Oct 12, 2015

Copy link
Copy Markdown
Member

Great! Please squash these commits into one and then they're good to merge :)
-S-awaiting-review +S-needs-squash


Reviewed 1 of 1 files at r2.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from the review on Reviewable.io

@jdm jdm added S-needs-squash Some (or all) of the commits in the PR should be combined. and removed S-awaiting-review There is new code that needs to be reviewed. labels Oct 12, 2015
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 12, 2015
@creativcoder

Copy link
Copy Markdown
Contributor Author

Hi, the two commits have been squashed into one.

@jdm

jdm commented Oct 12, 2015

Copy link
Copy Markdown
Member

@bors-servo: r+
Thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 4b363d2 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. S-needs-squash Some (or all) of the commits in the PR should be combined. labels Oct 12, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 4b363d2 with merge 8dff3be...

bors-servo pushed a commit that referenced this pull request Oct 12, 2015
convert match to if let for location header check #7969

@jdm Hi, very eager for my first pull request to Servo. Please review the changes.

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

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants