diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-05-14 13:47:01 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-05-20 09:16:26 +1000 |
| commit | b96be5b1889a28d0d44b54a18c8d0467da109656 (patch) | |
| tree | bcad83a43ffe47f7168aa9d343d18ceedda972f3 /src/test/ui/thinlto | |
| parent | 6afcb5628523b0baae5704ad34ac1aba8ba10de6 (diff) | |
| download | rust-b96be5b1889a28d0d44b54a18c8d0467da109656.tar.gz rust-b96be5b1889a28d0d44b54a18c8d0467da109656.zip | |
Avoid `as_str()` in `ParamTy::is_self`.
It's a hot function, and a direct `Symbol` comparison is faster. The patch also converts some `&InternedString`s to `InternedString`.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
