remove cancelable from symbols

This commit is contained in:
Aleksey Kladov 2019-01-15 18:19:09 +03:00
parent 11f3c8afb2
commit fb012e5c1e
5 changed files with 12 additions and 14 deletions

View file

@ -258,7 +258,7 @@ impl db::RootDatabase {
.collect::<Vec<_>>();
Ok(res)
}
pub(crate) fn index_resolve(&self, name_ref: &ast::NameRef) -> Cancelable<Vec<FileSymbol>> {
pub(crate) fn index_resolve(&self, name_ref: &ast::NameRef) -> Vec<FileSymbol> {
let name = name_ref.text();
let mut query = Query::new(name.to_string());
query.exact();