about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/doc-examples.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-15 08:44:46 +0000
committerbors <bors@rust-lang.org>2020-07-15 08:44:46 +0000
commitd9e8d6290745a65025a3e082aea72fbe372292c6 (patch)
tree46262e3847727b0aa0f3604830c9f44b87433392 /src/test/rustdoc-ui/coverage/doc-examples.rs
parentc714eae0e3b4ba263c193d54f6e46bb9a1feb2cc (diff)
parenta1b8540390bb9bf9861757ef9f3703f140d6f73a (diff)
downloadrust-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