chore: Bump Rust version to 1.80 (#15186)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-07-25 22:48:42 +02:00 committed by GitHub
parent f291677d40
commit 0d5de88c4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 43 additions and 67 deletions

View file

@ -510,7 +510,7 @@ impl Worktree {
}
}
};
cx.emit(Event::UpdatedEntries(Arc::from([])));
cx.emit(Event::UpdatedEntries(Arc::default()));
cx.notify();
while let Some((scan_id, _)) = this.snapshot_subscriptions.front() {
if this.observed_snapshot(*scan_id) {
@ -1698,7 +1698,7 @@ impl LocalWorktree {
let (snapshots_tx, mut snapshots_rx) =
mpsc::unbounded::<(LocalSnapshot, UpdatedEntriesSet, UpdatedGitRepositoriesSet)>();
snapshots_tx
.unbounded_send((self.snapshot(), Arc::from([]), Arc::from([])))
.unbounded_send((self.snapshot(), Arc::default(), Arc::default()))
.ok();
let worktree_id = cx.entity_id().as_u64();