diff options
author | Aleksey Kladov <[email protected]> | 2019-01-15 15:26:29 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-15 15:26:29 +0000 |
commit | ca52cf1ecd4f65ff2a8c3953c35b006e73a60ea8 (patch) | |
tree | 0cb202b9c3a670dee6667d7f636b01a71ae554c6 /crates/ra_ide_api/src/completion | |
parent | 91feed736f91a3790b2f5a5d0d879c06843bce95 (diff) |
remove Cancelable from Module API
Diffstat (limited to 'crates/ra_ide_api/src/completion')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_scope.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_scope.rs b/crates/ra_ide_api/src/completion/complete_scope.rs index 770a0fdf2..f422bb9a7 100644 --- a/crates/ra_ide_api/src/completion/complete_scope.rs +++ b/crates/ra_ide_api/src/completion/complete_scope.rs | |||
@@ -20,7 +20,7 @@ pub(super) fn complete_scope(acc: &mut Completions, ctx: &CompletionContext) -> | |||
20 | } | 20 | } |
21 | 21 | ||
22 | let module_scope = module.scope(ctx.db)?; | 22 | let module_scope = module.scope(ctx.db)?; |
23 | let (file_id, _) = module.definition_source(ctx.db)?; | 23 | let (file_id, _) = module.definition_source(ctx.db); |
24 | module_scope | 24 | module_scope |
25 | .entries() | 25 | .entries() |
26 | .filter(|(_name, res)| { | 26 | .filter(|(_name, res)| { |