diff options
| author | bors <bors@rust-lang.org> | 2020-07-15 08:44:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-07-15 08:44:46 +0000 |
| commit | d9e8d6290745a65025a3e082aea72fbe372292c6 (patch) | |
| tree | 46262e3847727b0aa0f3604830c9f44b87433392 /src/test/rustdoc-ui/coverage/doc-examples.rs | |
| parent | c714eae0e3b4ba263c193d54f6e46bb9a1feb2cc (diff) | |
| parent | a1b8540390bb9bf9861757ef9f3703f140d6f73a (diff) | |
| download | rust-d9e8d6290745a65025a3e082aea72fbe372292c6.tar.gz rust-d9e8d6290745a65025a3e082aea72fbe372292c6.zip | |
Auto merge of #74214 - nnethercote:change-SymbolName-name, r=eddyb
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. r? @eddyb
Diffstat (limited to 'src/test/rustdoc-ui/coverage/doc-examples.rs')
0 files changed, 0 insertions, 0 deletions
