about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/module.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-09-04 09:19:27 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2019-09-04 15:21:33 +1000
commitcc17b1bc3c877c5cf9a2f5de58535477607972f2 (patch)
treec807d5c6ef0191351d15afba1aad0f7f5bda747c /src/libsyntax/parse/parser/module.rs
parent7a1bc79cbd6fbf5577e5216b8e2f3c29cbbacb29 (diff)
downloadrust-cc17b1bc3c877c5cf9a2f5de58535477607972f2.tar.gz
rust-cc17b1bc3c877c5cf9a2f5de58535477607972f2.zip
Add `Symbol::{with,with2}`.
And remove the `unsafe` blocks, they're not necessary.

Also rewrite `InternedString::{with,with2}` to use the new functions.

Finally, add some comments about the speed of the
`as_str()`/`as_interned_str()` functions.
Diffstat (limited to 'src/libsyntax/parse/parser/module.rs')
0 files changed, 0 insertions, 0 deletions