about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-05-14 15:13:42 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2019-05-20 09:17:02 +1000
commitc06cdbeac55ec87181d015d2ef759349521773ea (patch)
tree7aca56810dc84cec24f397aac620b77a25cc55f7 /src/test/ui/thinlto
parent257eaf523f7faabfc9845a238ec3776fc45fcd81 (diff)
downloadrust-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