Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix typo for worklet in globalscope #20905
Conversation
highfive
commented
Jun 3, 2018
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jun 3, 2018
|
@bors-servo r+ |
|
|
Fix typo for worklet in globalscope As the `self` will downcast to `WorkletGlobalScope`, I think it would be more reasonable to name the variable with `worklet` in `if let`. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because it just renames the variable name <!-- 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/20905) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
|
|
|
CYBAI commentedJun 3, 2018
•
edited by SimonSapin
As the
selfwill downcast toWorkletGlobalScope, I think it would be more reasonable to name the variable withworkletinif let../mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is