aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlformelement.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-10-05 12:04:03 -0500
committerGitHub <noreply@github.com>2016-10-05 12:04:03 -0500
commit596fdf2fef0c2e0a3d02ce9f7ed3cd5a1c0480a6 (patch)
treec6e92f72328a02f07730829021ced9e3138b0bcf /components/script/dom/htmlformelement.rs
parent9c2610146ae3a61e1da917a9fd5e3902bd267d4a (diff)
parent76e04e2acda24cd270cbdf5862343472eeef4303 (diff)
downloadservo-596fdf2fef0c2e0a3d02ce9f7ed3cd5a1c0480a6.tar.gz
servo-596fdf2fef0c2e0a3d02ce9f7ed3cd5a1c0480a6.zip
Auto merge of #13600 - slester:13586, r=jdm
Invert conditional and return early for AddEventListener/RemoveEventL… <!-- Please describe your changes on the following line: --> Cleans up code as described in #13586 by returning early instead of nesting everything in an `if` statement. --- <!-- 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 - [x] These changes fix #13586 <!-- Either: --> - [x] These changes do not require tests because the change is a cleanup of code and the author of the issue stated that new tests were not required. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> …istener <!-- 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/13600) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
0 files changed, 0 insertions, 0 deletions