diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-07-10 15:45:05 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-07-15 14:37:55 +1000 |
| commit | 7c4d431c067308ae79b902fe0d0e7b9c6958d0e9 (patch) | |
| tree | c964535c7342e0f4d9f2a0fd5684c7b21b51d231 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 567ad7455d5f25f6b38d2fded1cb621e0c34a48b (diff) | |
| download | rust-7c4d431c067308ae79b902fe0d0e7b9c6958d0e9.tar.gz rust-7c4d431c067308ae79b902fe0d0e7b9c6958d0e9.zip | |
Change `SymbolName::name` to a `&str`.
This eliminates a bunch of `Symbol::intern()` and `Symbol::as_str()` calls, which is good, because they require locking the interner. Note that the unsafety in `from_cycle_error()` is identical to the unsafety on other adjacent impls.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
