diff options
author | Aleksey Kladov <[email protected]> | 2018-12-21 22:01:40 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-21 22:01:40 +0000 |
commit | a8e04a702827c454f5336c82262b0963df7fe484 (patch) | |
tree | 24d94c4361b5ac3c009a2832006cdd4b8475af66 /crates/ra_analysis/src/completion/complete_scope.rs | |
parent | 200cc0a1e355cbe63dfea844a31b90ea13d42ad5 (diff) |
docs
Diffstat (limited to 'crates/ra_analysis/src/completion/complete_scope.rs')
-rw-r--r-- | crates/ra_analysis/src/completion/complete_scope.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_analysis/src/completion/complete_scope.rs b/crates/ra_analysis/src/completion/complete_scope.rs index ddaf13b88..c1ab19d5b 100644 --- a/crates/ra_analysis/src/completion/complete_scope.rs +++ b/crates/ra_analysis/src/completion/complete_scope.rs | |||
@@ -2,11 +2,11 @@ use rustc_hash::FxHashSet; | |||
2 | use ra_syntax::TextUnit; | 2 | use ra_syntax::TextUnit; |
3 | 3 | ||
4 | use crate::{ | 4 | use crate::{ |
5 | completion::{CompletionItem, Completions, CompletionKind::*, SyntaxContext}, | 5 | completion::{CompletionItem, Completions, CompletionKind::*, CompletionContext}, |
6 | Cancelable | 6 | Cancelable |
7 | }; | 7 | }; |
8 | 8 | ||
9 | pub(super) fn complete_scope(acc: &mut Completions, ctx: &SyntaxContext) -> Cancelable<()> { | 9 | pub(super) fn complete_scope(acc: &mut Completions, ctx: &CompletionContext) -> Cancelable<()> { |
10 | if !ctx.is_trivial_path { | 10 | if !ctx.is_trivial_path { |
11 | return Ok(()); | 11 | return Ok(()); |
12 | } | 12 | } |