zed/crates/git_ui_core
Miguel Raz Guzmán Macedo a3f6b96ced
Avoid redundant string allocations (#63377)
Remove unnecessary intermediate `String` allocations when constructing
`Arc<str>` and `SharedString` values. Use static `SharedString` storage
for fixed worktree picker identifiers.

Validation:

- `cargo fmt --all -- --check`
- `tooling/lints/single-lint owned_string_into_shared -p editor -p
git_ui_core -p toolchain_selector`
- `cargo test -p editor -p git_ui_core -p toolchain_selector`

Release Notes:

- N/A
2026-08-28 17:31:36 +00:00
..
src Avoid redundant string allocations (#63377) 2026-08-28 17:31:36 +00:00
Cargo.toml
LICENSE-GPL