More type safety for highlighting

This commit is contained in:
Aleksey Kladov
2020-02-26 17:08:15 +01:00
parent 640ede4ade
commit f38bac48e5
6 changed files with 111 additions and 93 deletions

View File

@@ -112,7 +112,7 @@ pub struct PublishDecorationsParams {
#[serde(rename_all = "camelCase")]
pub struct Decoration {
pub range: Range,
pub tag: &'static str,
pub tag: String,
pub binding_hash: Option<String>,
}