Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 48ef96d

Browse files
committed
Use git dependency for Rustfmt
1 parent 942aa2b commit 48ef96d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ name = "rls"
2020
test = false
2121
path = "rls/src/main.rs"
2222

23-
[patch.crates-io]
24-
rustfmt-nightly = { version = "1.4.20", git = "https://github.com/rust-lang/rustfmt", branch = "rustfmt-1.4.20" }
25-
2623
[dependencies]
2724
rls-analysis = "0.18.0"
2825
rls-data = "0.19"
@@ -49,7 +46,7 @@ racer = { version = "2.1.37", default-features = false }
4946
rand = "0.7"
5047
rayon = "1"
5148
rustc_tools_util = "0.2"
52-
rustfmt-nightly = "1.4.20"
49+
rustfmt-nightly = { version = "1.4.20", git = "https://github.com/rust-lang/rustfmt", branch = "rustfmt-1.4.20" }
5350
serde = "1.0"
5451
serde_json = "1.0"
5552
serde_derive = "1.0"

0 commit comments

Comments
 (0)