Revert "Revert "chore: Bump Rust version to 1.77 (#9631)"" (#9672)

Reverts zed-industries/zed#9658, as the Docker image is now available.

Release notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-03-22 11:17:16 +01:00 committed by GitHub
parent ae6f138b6c
commit 945d8c2112
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 11 additions and 7 deletions

View file

@ -530,7 +530,7 @@ impl Project {
if buffer_language.prettier_parser_name().is_none() {
return Task::ready(None);
}
let Some(node) = self.node.as_ref().map(Arc::clone) else {
let Some(node) = self.node.clone() else {
return Task::ready(None);
};
match File::from_dyn(buffer_file).map(|file| (file.worktree_id(cx), file.abs_path(cx))) {