mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 11:17:04 +00:00

rustc_arena: add `alloc_str` Two places called `from_utf8_unchecked` for strings from `alloc_slice`, and one's SAFETY comment said this was for lack of `alloc_str` -- so let's just add that instead!