diff options
author | Aleksey Kladov <[email protected]> | 2019-01-15 15:30:58 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-15 15:30:58 +0000 |
commit | c159e414b42e2fd43ed88bbf4113fbe8c8e372fe (patch) | |
tree | f8035b08462e192462528c9f3942431162aa9068 /crates/ra_ide_api/src/runnables.rs | |
parent | ca52cf1ecd4f65ff2a8c3953c35b006e73a60ea8 (diff) |
remove Cancelable from Module API, part 2
Diffstat (limited to 'crates/ra_ide_api/src/runnables.rs')
-rw-r--r-- | crates/ra_ide_api/src/runnables.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/runnables.rs b/crates/ra_ide_api/src/runnables.rs index c0d4bda94..a3207fdd2 100644 --- a/crates/ra_ide_api/src/runnables.rs +++ b/crates/ra_ide_api/src/runnables.rs | |||
@@ -80,7 +80,6 @@ fn runnable_mod(db: &RootDatabase, file_id: FileId, module: &ast::Module) -> Opt | |||
80 | // FIXME: thread cancellation instead of `.ok`ing | 80 | // FIXME: thread cancellation instead of `.ok`ing |
81 | let path = module | 81 | let path = module |
82 | .path_to_root(db) | 82 | .path_to_root(db) |
83 | .ok()? | ||
84 | .into_iter() | 83 | .into_iter() |
85 | .rev() | 84 | .rev() |
86 | .filter_map(|it| it.name(db)) | 85 | .filter_map(|it| it.name(db)) |