zed/crates/project_panel
Marshall Bowers 298ca5ff1b
Prefer .map for conditionals with else conditions (#15118)
This PR updates instances where we were using `.when_else` and
`.when_else_some` to use `.map` with a conditional inside.

This allows us to avoid reinventing Rust's syntax for conditionals and
(IMO) makes the code easier to read.

Release Notes:

- N/A
2024-07-24 17:09:07 -04:00
..
src Prefer .map for conditionals with else conditions (#15118) 2024-07-24 17:09:07 -04:00
Cargo.toml project_panel: Select the newly created file when copy/pasting a file (#14705) 2024-07-18 17:26:33 +03:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00