diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-25 14:37:44 -0700 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-25 14:37:44 -0700 |
commit | 81f6e70a623a6f11535322ed2ef954eafaf8c70c (patch) | |
tree | 2e143097805f79fe5637729988d7be1e50af7f00 /components/script/dom/progressevent.rs | |
parent | 34900814fca3b21fbb27bed58d4f4af8a8e307e9 (diff) | |
parent | 2675d9d1ff4de037f3680ec1b1b6e40065d7cb30 (diff) | |
download | servo-81f6e70a623a6f11535322ed2ef954eafaf8c70c.tar.gz servo-81f6e70a623a6f11535322ed2ef954eafaf8c70c.zip |
Auto merge of #10785 - frewsxcv:loaderrortype-nostring, r=jdm
Refactor `LoadErrorType` to not require a `String` for every type.
Some of the `LoadErrorType` like `LoadCancelled` don't need a `String`
associated with the type since the variant is self-explanatory.
There are some variants that don't need an associated `String`, but that
can be cleaned up in a later refactor. Also, `net_traits::NetworkError`
currently requires a `String`, but that can potentially also be
refactored away too.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10785)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/progressevent.rs')
0 files changed, 0 insertions, 0 deletions