deps: Bump smol to 2.0 (#22956)

The collateral of this is that code size is increased by ~300kB, but I
think we can stomach it.

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-01-10 14:38:00 +01:00 committed by GitHub
parent 1f84c1b6c7
commit 9e113bccd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 187 additions and 330 deletions

View file

@ -29,6 +29,7 @@ use std::{
mem,
ops::{Not, Range},
path::Path,
pin::pin,
};
use theme::ThemeSettings;
use ui::{
@ -249,7 +250,7 @@ impl ProjectSearch {
self.active_query = Some(query);
self.match_ranges.clear();
self.pending_search = Some(cx.spawn(|this, mut cx| async move {
let mut matches = search.ready_chunks(1024);
let mut matches = pin!(search.ready_chunks(1024));
let this = this.upgrade()?;
this.update(&mut cx, |this, cx| {
this.match_ranges.clear();