mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-27 16:07:46 +00:00
While using `Into` could avoid an allocation in `String` -> `Box<str>`, converting `Box<str>` into `Arc<str>` deallocates and re-allocates anyway.