mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-24 06:18:30 +03:00
1393c3a3f4
&str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str.