diff options
author | Aleksey Kladov <[email protected]> | 2019-08-17 19:34:31 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-08-17 20:21:59 +0100 |
commit | 64ecba4f15bf178fb795174cffc96dda2d46a8d1 (patch) | |
tree | 77f7a2671785bf17fdb1dbadc329f859465d8c50 /crates/ra_lsp_server/src/req.rs | |
parent | 5a2a97c7e8cfac690a00505d8644be30f7ee863a (diff) |
update lsp
Diffstat (limited to 'crates/ra_lsp_server/src/req.rs')
-rw-r--r-- | crates/ra_lsp_server/src/req.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/req.rs b/crates/ra_lsp_server/src/req.rs index b2f3c509d..1b23f0c3d 100644 --- a/crates/ra_lsp_server/src/req.rs +++ b/crates/ra_lsp_server/src/req.rs | |||
@@ -1,7 +1,6 @@ | |||
1 | use lsp_types::{Location, Position, Range, TextDocumentIdentifier, Url}; | 1 | use lsp_types::{Location, Position, Range, TextDocumentIdentifier, Url}; |
2 | use rustc_hash::FxHashMap; | 2 | use rustc_hash::FxHashMap; |
3 | use serde::{Deserialize, Serialize}; | 3 | use serde::{Deserialize, Serialize}; |
4 | use url_serde; | ||
5 | 4 | ||
6 | pub use lsp_types::{ | 5 | pub use lsp_types::{ |
7 | notification::*, request::*, ApplyWorkspaceEditParams, CodeActionParams, CodeLens, | 6 | notification::*, request::*, ApplyWorkspaceEditParams, CodeActionParams, CodeLens, |
@@ -98,7 +97,6 @@ impl Notification for PublishDecorations { | |||
98 | #[derive(Serialize, Debug)] | 97 | #[derive(Serialize, Debug)] |
99 | #[serde(rename_all = "camelCase")] | 98 | #[serde(rename_all = "camelCase")] |
100 | pub struct PublishDecorationsParams { | 99 | pub struct PublishDecorationsParams { |
101 | #[serde(with = "url_serde")] | ||
102 | pub uri: Url, | 100 | pub uri: Url, |
103 | pub decorations: Vec<Decoration>, | 101 | pub decorations: Vec<Decoration>, |
104 | } | 102 | } |