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 `size_of_is_0!` as `malloc_size_of_is_0!`. #18932

Merged
merged 1 commit into from Oct 18, 2017

Conversation

@nnethercote
Copy link
Contributor

nnethercote commented Oct 18, 2017

The new name makes it clearer that it comes from the malloc_size_of
crate.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #__ (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because it's a trivial name change.

This change is Reviewable

The new name makes it clearer that it comes from the `malloc_size_of`
crate.
@highfive
Copy link

highfive commented Oct 18, 2017

Heads up! This PR modifies the following files:

  • @bholley: components/style/gecko_string_cache/mod.rs, components/style/properties/longhand/color.mako.rs
  • @canaltinova: components/style/gecko_string_cache/mod.rs, components/style/properties/longhand/color.mako.rs
  • @emilio: components/style/gecko_string_cache/mod.rs, components/style/properties/longhand/color.mako.rs
@highfive
Copy link

highfive commented Oct 18, 2017

warning Warning warning

  • These commits modify style code, but no tests are modified. Please consider adding a test!
@nnethercote
Copy link
Contributor Author

nnethercote commented Oct 18, 2017

This change was suggested by @SimonSapin in #18920 (comment).

@emilio
Copy link
Member

emilio commented Oct 18, 2017

@bors-servo r+

LGTM

@bors-servo
Copy link
Contributor

bors-servo commented Oct 18, 2017

📌 Commit a26d25d has been approved by emilio

@highfive highfive assigned emilio and unassigned metajack Oct 18, 2017
@bors-servo
Copy link
Contributor

bors-servo commented Oct 18, 2017

Testing commit a26d25d with merge 421baa8...

bors-servo added a commit that referenced this pull request Oct 18, 2017
Rename `size_of_is_0!` as `malloc_size_of_is_0!`.

The new name makes it clearer that it comes from the `malloc_size_of`
crate.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's a trivial name change.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

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

bors-servo commented Oct 18, 2017

@bors-servo bors-servo merged commit a26d25d into servo:master Oct 18, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@nnethercote nnethercote deleted the nnethercote:rename-size_of_is_0 branch Oct 18, 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.