zed/crates/project
Max Brunsfeld f417893a7b
Avoid unwrap of Worktree::root_entry in resolve_path_in_worktrees (#16917)
It looks like this unwrap was introduced in
https://github.com/zed-industries/zed/pull/16534.

I think a worktree's `root_entry` can be null if it represents a
non-existent file that has not yet been saved. I hit a panic due to the
`unwrap` a couple of times on nightly.

Release Notes:

- N/A
2024-08-26 14:01:56 -07:00
..
src Avoid unwrap of Worktree::root_entry in resolve_path_in_worktrees (#16917) 2024-08-26 14:01:56 -07:00
Cargo.toml Improve slash commands (#16195) 2024-08-13 23:06:07 -07:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00