diff options
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r-- | crates/ra_ide/src/completion/complete_unqualified_path.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/ra_ide/src/completion/complete_unqualified_path.rs b/crates/ra_ide/src/completion/complete_unqualified_path.rs index b2af81ae5..56cd086c6 100644 --- a/crates/ra_ide/src/completion/complete_unqualified_path.rs +++ b/crates/ra_ide/src/completion/complete_unqualified_path.rs | |||
@@ -1333,8 +1333,8 @@ mod tests { | |||
1333 | [ | 1333 | [ |
1334 | CompletionItem { | 1334 | CompletionItem { |
1335 | label: "f()", | 1335 | label: "f()", |
1336 | source_range: [98; 99), | 1336 | source_range: 98..99, |
1337 | delete: [98; 99), | 1337 | delete: 98..99, |
1338 | insert: "f()$0", | 1338 | insert: "f()$0", |
1339 | kind: Function, | 1339 | kind: Function, |
1340 | lookup: "f", | 1340 | lookup: "f", |
@@ -1342,15 +1342,15 @@ mod tests { | |||
1342 | }, | 1342 | }, |
1343 | CompletionItem { | 1343 | CompletionItem { |
1344 | label: "m", | 1344 | label: "m", |
1345 | source_range: [98; 99), | 1345 | source_range: 98..99, |
1346 | delete: [98; 99), | 1346 | delete: 98..99, |
1347 | insert: "m", | 1347 | insert: "m", |
1348 | kind: Module, | 1348 | kind: Module, |
1349 | }, | 1349 | }, |
1350 | CompletionItem { | 1350 | CompletionItem { |
1351 | label: "m::E::V", | 1351 | label: "m::E::V", |
1352 | source_range: [98; 99), | 1352 | source_range: 98..99, |
1353 | delete: [98; 99), | 1353 | delete: 98..99, |
1354 | insert: "m::E::V", | 1354 | insert: "m::E::V", |
1355 | kind: EnumVariant, | 1355 | kind: EnumVariant, |
1356 | detail: "()", | 1356 | detail: "()", |