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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user