about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/module.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-05 03:59:49 +0200
committerGitHub <noreply@github.com>2019-09-05 03:59:49 +0200
commit4dfbaba3bf0c61825637e26542ca5e0f21910f31 (patch)
tree11faedeffb5962f0e97b3f2cfb4ae6896abb9b47 /src/libsyntax/parse/parser/module.rs
parent57ffc8331234cb93c1a1a3d981b5a124d7c93b5b (diff)
parentcc17b1bc3c877c5cf9a2f5de58535477607972f2 (diff)
downloadrust-4dfbaba3bf0c61825637e26542ca5e0f21910f31.tar.gz
rust-4dfbaba3bf0c61825637e26542ca5e0f21910f31.zip
Rollup merge of #64141 - nnethercote:minimize-LocalInternedString, r=petrochenkov
Minimize uses of `LocalInternedString`

`LocalInternedString` is described as "An alternative to `Symbol` and `InternedString`, useful when the chars within the symbol need to be accessed. It is best used for temporary values."

This PR makes the code match that comment, by removing all non-local uses of `LocalInternedString`. This allows the removal of a number of operations on `LocalInternedString` and a couple of uses of `unsafe`.
Diffstat (limited to 'src/libsyntax/parse/parser/module.rs')
0 files changed, 0 insertions, 0 deletions