diff options
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 | } |