From e87346950039a54c3f0b02d6056cbb92ca38eb28 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 25 Apr 2020 11:52:10 +0200 Subject: text-size 1.0.0 --- crates/ra_ide/src/completion/complete_unqualified_path.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/ra_ide/src') 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 { [ CompletionItem { label: "f()", - source_range: [98; 99), - delete: [98; 99), + source_range: 98..99, + delete: 98..99, insert: "f()$0", kind: Function, lookup: "f", @@ -1342,15 +1342,15 @@ mod tests { }, CompletionItem { label: "m", - source_range: [98; 99), - delete: [98; 99), + source_range: 98..99, + delete: 98..99, insert: "m", kind: Module, }, CompletionItem { label: "m::E::V", - source_range: [98; 99), - delete: [98; 99), + source_range: 98..99, + delete: 98..99, insert: "m::E::V", kind: EnumVariant, detail: "()", -- cgit v1.2.3