diff options
author | Aleksey Kladov <[email protected]> | 2019-05-28 16:46:11 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-05-28 16:46:11 +0100 |
commit | 61e1474ab35deb7d54cc2f5d710b901f200b6467 (patch) | |
tree | 158afa2f165a70fdcb5870c940cc9653854e59fa /crates/ra_ide_api/src/completion.rs | |
parent | c8bcfe6a05d82e151d459bcd2bd8a7b2742f7a66 (diff) |
fix typos in mbe tests
Diffstat (limited to 'crates/ra_ide_api/src/completion.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api/src/completion.rs b/crates/ra_ide_api/src/completion.rs index deff59cd3..3a75bbf92 100644 --- a/crates/ra_ide_api/src/completion.rs +++ b/crates/ra_ide_api/src/completion.rs | |||
@@ -51,8 +51,8 @@ pub use crate::completion::completion_item::{CompletionItem, CompletionItemKind, | |||
51 | /// identifier prefix/fuzzy match should be done higher in the stack, together | 51 | /// identifier prefix/fuzzy match should be done higher in the stack, together |
52 | /// with ordering of completions (currently this is done by the client). | 52 | /// with ordering of completions (currently this is done by the client). |
53 | pub(crate) fn completions(db: &db::RootDatabase, position: FilePosition) -> Option<Completions> { | 53 | pub(crate) fn completions(db: &db::RootDatabase, position: FilePosition) -> Option<Completions> { |
54 | let original_file = db.parse(position.file_id); | 54 | let original_parse = db.parse(position.file_id); |
55 | let ctx = CompletionContext::new(db, &original_file, position)?; | 55 | let ctx = CompletionContext::new(db, &original_parse, position)?; |
56 | 56 | ||
57 | let mut acc = Completions::default(); | 57 | let mut acc = Completions::default(); |
58 | 58 | ||