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:
parent
1f84c1b6c7
commit
9e113bccd0
25 changed files with 187 additions and 330 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue