diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-09-19 14:20:39 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-09-19 14:25:29 +0200 |
commit | e2db4fe46661c85029b28da43ff18e62099050c9 (patch) | |
tree | 5cbfdf64e3033bc54b30577a9e7a47046d8c08a9 /components/script/dom/bindings/codegen/parser | |
parent | fe426f65b912dc091d0349c167086e19c72bbd25 (diff) | |
download | servo-e2db4fe46661c85029b28da43ff18e62099050c9.tar.gz servo-e2db4fe46661c85029b28da43ff18e62099050c9.zip |
constellation: Minor refactoring to aid legibility.
Two things changed, on one hand, avoid a dumb if chain that could be more
idiomatically written with a match expression, and also avoiding use map() to
change state.
In general I'm pretty surprised for our lack of error reporting in this
critical code, but that's not the purpose of this PR.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser')
0 files changed, 0 insertions, 0 deletions