diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-19 19:29:46 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-19 19:29:46 +0100 |
commit | 1bc1f28bc58b2dbcf8f8f548c277e2c90e3075cd (patch) | |
tree | 7d059b65919b1b64196cc3fc6830eeb99f2f9af0 /crates/ra_ide/src/completion.rs | |
parent | 131849f2abd94dc8143f0c5d65e022136f29561a (diff) | |
parent | 3e9bf7ebabdaa8e9a2972af2dd8e8089a3a0341e (diff) |
Merge #4494
4494: Support snippet text edit r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/completion.rs')
-rw-r--r-- | crates/ra_ide/src/completion.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/completion.rs b/crates/ra_ide/src/completion.rs index 8bdc43b1a..191300704 100644 --- a/crates/ra_ide/src/completion.rs +++ b/crates/ra_ide/src/completion.rs | |||
@@ -59,8 +59,8 @@ pub use crate::completion::{ | |||
59 | /// with ordering of completions (currently this is done by the client). | 59 | /// with ordering of completions (currently this is done by the client). |
60 | pub(crate) fn completions( | 60 | pub(crate) fn completions( |
61 | db: &RootDatabase, | 61 | db: &RootDatabase, |
62 | position: FilePosition, | ||
63 | config: &CompletionConfig, | 62 | config: &CompletionConfig, |
63 | position: FilePosition, | ||
64 | ) -> Option<Completions> { | 64 | ) -> Option<Completions> { |
65 | let ctx = CompletionContext::new(db, position, config)?; | 65 | let ctx = CompletionContext::new(db, position, config)?; |
66 | 66 | ||