diff options
author | Lukas Wirth <[email protected]> | 2021-06-07 11:29:46 +0100 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-06-07 13:08:05 +0100 |
commit | 4eabcb2c01209065a231e616ba646ba63f68f00d (patch) | |
tree | d07a0ccd1232a53d531c6c3eb00b6cf57f68a85c /crates/ide_completion/src/completions/dot.rs | |
parent | e475bcdcc671161cf97d86d116a834c540f75f7c (diff) |
Move more things into PathCompletionContext
Diffstat (limited to 'crates/ide_completion/src/completions/dot.rs')
-rw-r--r-- | crates/ide_completion/src/completions/dot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_completion/src/completions/dot.rs b/crates/ide_completion/src/completions/dot.rs index 22844c2ae..8ad57a069 100644 --- a/crates/ide_completion/src/completions/dot.rs +++ b/crates/ide_completion/src/completions/dot.rs | |||
@@ -33,7 +33,7 @@ fn complete_undotted_self(acc: &mut Completions, ctx: &CompletionContext) { | |||
33 | if !ctx.config.enable_self_on_the_fly { | 33 | if !ctx.config.enable_self_on_the_fly { |
34 | return; | 34 | return; |
35 | } | 35 | } |
36 | if !ctx.is_trivial_path || ctx.is_path_disallowed() { | 36 | if !ctx.is_trivial_path() || ctx.is_path_disallowed() { |
37 | return; | 37 | return; |
38 | } | 38 | } |
39 | ctx.scope.process_all_names(&mut |name, def| { | 39 | ctx.scope.process_all_names(&mut |name, def| { |