mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
8cddcd39ba
By changing `as_str()` to take `&self` instead of `self`, we can just return `&str`. We're still lying about lifetimes, but it's a smaller lie than before, where `SymbolStr` contained a (fake) `&'static str`! |
||
---|---|---|
.. | ||
late | ||
build_reduced_graph.rs | ||
check_unused.rs | ||
def_collector.rs | ||
diagnostics.rs | ||
imports.rs | ||
late.rs | ||
lib.rs | ||
macros.rs |