diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2016-10-21 12:01:06 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2016-10-21 20:27:15 +1100 |
| commit | b817cf8b5730912c558aff811cd34fc3d3fa8637 (patch) | |
| tree | 7e2c92dd5380a26890c139afccad36450ee9d1a2 /src/liballoc_system | |
| parent | e382267cfb9133ef12d59b66a2935ee45b546a61 (diff) | |
| download | rust-b817cf8b5730912c558aff811cd34fc3d3fa8637.tar.gz rust-b817cf8b5730912c558aff811cd34fc3d3fa8637.zip | |
Replace the `String` in `ParseResult::Failure` with `Token`.
This lets us delay creation of failure messages until they are needed, which avoids ~1.6M allocations in html5ever.
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions
