diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-05-14 15:13:42 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-05-20 09:17:02 +1000 |
| commit | c06cdbeac55ec87181d015d2ef759349521773ea (patch) | |
| tree | 7aca56810dc84cec24f397aac620b77a25cc55f7 /src/test/ui/thinlto | |
| parent | 257eaf523f7faabfc9845a238ec3776fc45fcd81 (diff) | |
| download | rust-c06cdbeac55ec87181d015d2ef759349521773ea.tar.gz rust-c06cdbeac55ec87181d015d2ef759349521773ea.zip | |
Introduce `LocalInternedString::intern`.
`LocalInternedString::intern(x)` is preferable to `Symbol::intern(x).as_str()`, because the former involves one call to `with_interner` while the latter involves two.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
