diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-04 09:19:27 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-04 15:21:33 +1000 |
| commit | cc17b1bc3c877c5cf9a2f5de58535477607972f2 (patch) | |
| tree | c807d5c6ef0191351d15afba1aad0f7f5bda747c /src/libsyntax/parse | |
| parent | 7a1bc79cbd6fbf5577e5216b8e2f3c29cbbacb29 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
