Fix warnings/errors now that AsyncAppContext::update
returns Result
This commit is contained in:
parent
31e6bb4fc1
commit
d03c431f9a
33 changed files with 494 additions and 371 deletions
|
@ -13,7 +13,7 @@ use std::{
|
|||
Arc,
|
||||
},
|
||||
};
|
||||
use util::post_inc;
|
||||
use util::{post_inc, ResultExt};
|
||||
use workspace::Workspace;
|
||||
|
||||
pub struct FileFinder {
|
||||
|
@ -186,7 +186,8 @@ impl FileFinder {
|
|||
let did_cancel = cancel_flag.load(atomic::Ordering::Relaxed);
|
||||
this.update(&mut cx, |this, cx| {
|
||||
this.set_matches(search_id, did_cancel, query, matches, cx)
|
||||
});
|
||||
})
|
||||
.log_err();
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue