mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 07:04:22 +00:00
text-size 1.0.0
This commit is contained in:
parent
63a462f37c
commit
e873469500
6 changed files with 16 additions and 12 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -1322,7 +1322,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "rowan"
|
||||
version = "0.10.0-pre.1"
|
||||
version = "0.10.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1e081ed6eacce09e243b619ab90f069c27b0cff8a6d0eb8ad2ec935b65853798"
|
||||
dependencies = [
|
||||
"rustc-hash",
|
||||
"smol_str",
|
||||
|
@ -1623,7 +1625,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "text-size"
|
||||
version = "1.0.0-pre.1"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f03e7efdedc3bc78cb2337f1e2785c39e45f5ef762d9e4ebb137fff7380a6d8a"
|
||||
|
||||
[[package]]
|
||||
name = "thin-dst"
|
||||
|
|
|
@ -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: "()",
|
||||
|
|
|
@ -12,7 +12,7 @@ doctest = false
|
|||
|
||||
[dependencies]
|
||||
itertools = "0.9.0"
|
||||
rowan = { path = "../../../rowan" }
|
||||
rowan = "0.10.0"
|
||||
rustc_lexer = { version = "652.0.0", package = "rustc-ap-rustc_lexer" }
|
||||
rustc-hash = "1.1.0"
|
||||
arrayvec = "0.5.1"
|
||||
|
|
|
@ -9,4 +9,4 @@ publish = false
|
|||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
text-size = { path = "../../../text-size" }
|
||||
text-size = "1.0.0"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//! FIXME: write short doc here
|
||||
|
||||
use crate::AtomTextEdit;
|
||||
// TODO: fix Cargo.toml
|
||||
|
||||
use text_size::{TextRange, TextSize};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
|
|
@ -9,5 +9,5 @@ doctest = false
|
|||
|
||||
[dependencies]
|
||||
difference = "2.0.0"
|
||||
text-size = { path = "../../../text-size" }
|
||||
text-size = "1.0.0"
|
||||
serde_json = "1.0.48"
|
||||
|
|
Loading…
Reference in a new issue