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

Run rustfmt on entire codebase #261

Merged
merged 1 commit into from Jan 14, 2018
Merged

Run rustfmt on entire codebase #261

merged 1 commit into from Jan 14, 2018

Conversation

@pyfisch
Copy link
Contributor

pyfisch commented Jan 14, 2018

See #181

Code looks good but I have not checked every line.


This change is Reviewable

m41: T,
m42: T,
m43: T,
m44: T,

This comment has been minimized.

@nical

nical Jan 14, 2018

Collaborator

Having the matrix members visually laid out helps me a lot (I can never remember m12 vs m21 etc.). That's the only thing that I would like to see formatted manually, but other than that the code looks a lot nicer, thanks!
Could you leave transform2d.rs and transform3d.rs out of this PR? I can go through these two files and selectively reformat them. Until we commit to automated reformatting or something that would really force us to lose the formatting of the parameters, I would prefer to preserve the visual layout of the members/arguments for now.

@pyfisch pyfisch force-pushed the pyfisch:rustfmt branch from 213d19d to 19a833d Jan 14, 2018
@pyfisch
Copy link
Contributor Author

pyfisch commented Jan 14, 2018

Removed transform3d.rs and transform2d.rs The hand formatted matrices are definitely easier to understand.

@nical
Copy link
Collaborator

nical commented Jan 14, 2018

Thanks again! @bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Jan 14, 2018

📌 Commit 19a833d has been approved by nical

@bors-servo
Copy link
Contributor

bors-servo commented Jan 14, 2018

Testing commit 19a833d with merge 88e4b3e...

bors-servo added a commit that referenced this pull request Jan 14, 2018
Run rustfmt on entire codebase

See #181

Code looks good but I have not checked every line.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/euclid/261)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 14, 2018

☀️ Test successful - status-travis
Approved by: nical
Pushing 88e4b3e to master...

@bors-servo bors-servo merged commit 19a833d into servo:master Jan 14, 2018
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@pyfisch pyfisch deleted the pyfisch:rustfmt branch Jan 14, 2018
@nical nical mentioned this pull request Jan 29, 2018
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

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