Fix warnings/errors now that AsyncAppContext::update returns Result

This commit is contained in:
Antonio Scandurra 2023-04-18 14:58:57 +02:00
parent 31e6bb4fc1
commit d03c431f9a
33 changed files with 494 additions and 371 deletions

View file

@ -155,7 +155,7 @@ impl ProjectSymbolsView {
s.select_ranges([position..position])
});
});
});
})?;
Ok::<_, anyhow::Error>(())
})
.detach_and_log_err(cx);
@ -225,7 +225,8 @@ impl PickerDelegate for ProjectSymbolsView {
this.external_match_candidates = external_match_candidates;
this.symbols = symbols;
this.filter(&query, cx);
});
})
.log_err();
}
}
});