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

Rename `to_uint` to `to_usize`. #182

Merged
merged 1 commit into from Mar 24, 2017
Merged

Conversation

@waywardmonkeys
Copy link
Contributor

waywardmonkeys commented Mar 24, 2017

The naming was a historical artifact and since the types involved
as usize, the name can match.

Fixes #180.


This change is Reviewable

The naming was a historical artifact and since the types involved
as `usize`, the name can match.

Fixes #180.
@kvark
Copy link
Member

kvark commented Mar 24, 2017

Thank you!
Not: API breaking change.
@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2017

📌 Commit 26fb2e6 has been approved by kvark

@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2017

Testing commit 26fb2e6 with merge cd162c3...

bors-servo added a commit that referenced this pull request Mar 24, 2017
Rename `to_uint` to `to_usize`.

The naming was a historical artifact and since the types involved
as `usize`, the name can match.

Fixes #180.

<!-- 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/182)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2017

💔 Test failed - status-travis

@kvark
Copy link
Member

kvark commented Mar 24, 2017

Ugh, this is not related to PR:

error: no default toolchain configured

@kvark
Copy link
Member

kvark commented Mar 24, 2017

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2017

Testing commit 26fb2e6 with merge 78bbebb...

bors-servo added a commit that referenced this pull request Mar 24, 2017
Rename `to_uint` to `to_usize`.

The naming was a historical artifact and since the types involved
as `usize`, the name can match.

Fixes #180.

<!-- 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/182)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2017

☀️ Test successful - status-travis
Approved by: kvark
Pushing 78bbebb to master...

@bors-servo bors-servo merged commit 26fb2e6 into servo:master Mar 24, 2017
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@mbrubeck
Copy link
Contributor

mbrubeck commented May 1, 2017

Not: API breaking change.

This looks like a breaking change to me. This is a public method, and this change breaks crates like servo-glutin that call the method by its old name. Filed #187.

@nox
Copy link
Member

nox commented May 1, 2017

i think @kvark meant "Note:", but that's why one shouldn't merge and then forget about what was merged, and we should release often, given we don't maintain a changelog.

nox added a commit to nox/euclid that referenced this pull request May 1, 2017
…ark"

This reverts commit 78bbebb, reversing
changes made to e30da73.
@kvark
Copy link
Member

kvark commented May 1, 2017

Yep, I meant Note

@waywardmonkeys waywardmonkeys deleted the waywardmonkeys:rename-to-uint branch Dec 14, 2017
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

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