diff options
author | Aleksey Kladov <[email protected]> | 2020-04-25 10:52:10 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-25 11:15:32 +0100 |
commit | e87346950039a54c3f0b02d6056cbb92ca38eb28 (patch) | |
tree | e42f7bd1490bca66e0786d5bf2b3194aeaa57a93 /crates | |
parent | 63a462f37ca584e1a585a69e30823ce25d4d252f (diff) |
text-size 1.0.0
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_ide/src/completion/complete_unqualified_path.rs | 12 | ||||
-rw-r--r-- | crates/ra_syntax/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/ra_text_edit/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/ra_text_edit/src/text_edit.rs | 2 | ||||
-rw-r--r-- | crates/test_utils/Cargo.toml | 2 |
5 files changed, 10 insertions, 10 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: "()", |
diff --git a/crates/ra_syntax/Cargo.toml b/crates/ra_syntax/Cargo.toml index dda396582..7ffe46c69 100644 --- a/crates/ra_syntax/Cargo.toml +++ b/crates/ra_syntax/Cargo.toml | |||
@@ -12,7 +12,7 @@ doctest = false | |||
12 | 12 | ||
13 | [dependencies] | 13 | [dependencies] |
14 | itertools = "0.9.0" | 14 | itertools = "0.9.0" |
15 | rowan = { path = "../../../rowan" } | 15 | rowan = "0.10.0" |
16 | rustc_lexer = { version = "652.0.0", package = "rustc-ap-rustc_lexer" } | 16 | rustc_lexer = { version = "652.0.0", package = "rustc-ap-rustc_lexer" } |
17 | rustc-hash = "1.1.0" | 17 | rustc-hash = "1.1.0" |
18 | arrayvec = "0.5.1" | 18 | arrayvec = "0.5.1" |
diff --git a/crates/ra_text_edit/Cargo.toml b/crates/ra_text_edit/Cargo.toml index 9b0567c98..46a2ab68f 100644 --- a/crates/ra_text_edit/Cargo.toml +++ b/crates/ra_text_edit/Cargo.toml | |||
@@ -9,4 +9,4 @@ publish = false | |||
9 | doctest = false | 9 | doctest = false |
10 | 10 | ||
11 | [dependencies] | 11 | [dependencies] |
12 | text-size = { path = "../../../text-size" } | 12 | text-size = "1.0.0" |
diff --git a/crates/ra_text_edit/src/text_edit.rs b/crates/ra_text_edit/src/text_edit.rs index db69a7e7b..eabab4b4d 100644 --- a/crates/ra_text_edit/src/text_edit.rs +++ b/crates/ra_text_edit/src/text_edit.rs | |||
@@ -1,7 +1,7 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! FIXME: write short doc here |
2 | 2 | ||
3 | use crate::AtomTextEdit; | 3 | use crate::AtomTextEdit; |
4 | // TODO: fix Cargo.toml | 4 | |
5 | use text_size::{TextRange, TextSize}; | 5 | use text_size::{TextRange, TextSize}; |
6 | 6 | ||
7 | #[derive(Debug, Clone)] | 7 | #[derive(Debug, Clone)] |
diff --git a/crates/test_utils/Cargo.toml b/crates/test_utils/Cargo.toml index 652ab4537..8ec986bcb 100644 --- a/crates/test_utils/Cargo.toml +++ b/crates/test_utils/Cargo.toml | |||
@@ -9,5 +9,5 @@ doctest = false | |||
9 | 9 | ||
10 | [dependencies] | 10 | [dependencies] |
11 | difference = "2.0.0" | 11 | difference = "2.0.0" |
12 | text-size = { path = "../../../text-size" } | 12 | text-size = "1.0.0" |
13 | serde_json = "1.0.48" | 13 | serde_json = "1.0.48" |