Skip to content

Rustfmt some of script. - #8569

Merged
bors-servo merged 1 commit into
servo:masterfrom
Ms2ger:fmt-script
Nov 18, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
Ms2ger:fmt-script

Conversation

@Ms2ger

@Ms2ger Ms2ger commented Nov 17, 2015

Copy link
Copy Markdown
Contributor

Review on Reviewable

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

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@metajack

Copy link
Copy Markdown
Collaborator

@bors-servo r+

While most of these are great, some seem questionable. I suppose having a definitive style enforced outweighs the potential perfection.

The one that bothers me most I guess is one function arg per line when it must get line split. In many cases hte function arguments fit together like clientX, clientY, screenX, screenY, and so could be two-combined instead of singletons on a line. There's no way for an automated script to know that though, and perhaps this is just my personal organizational preference anyway.


Reviewed 50 of 50 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from the review on Reviewable.io

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 847741e has been approved by metajack

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 847741e with merge 71075a6...

@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. labels Nov 17, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-dev

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Nov 17, 2015
@frewsxcv

Copy link
Copy Markdown
Contributor

Also, tidy failed

linux-dev failed because tidy failed

@Ms2ger

Ms2ger commented Nov 18, 2015

Copy link
Copy Markdown
Contributor Author

Arguably, those should take Point types.

@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Nov 18, 2015
@Ms2ger

Ms2ger commented Nov 18, 2015

Copy link
Copy Markdown
Contributor Author

@bors-servo r=metajack

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 0c61be7 has been approved by metajack

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0c61be7 with merge 7a87312...

@highfive highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 18, 2015
@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 18, 2015
@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.

5 participants