Replace generic with a concrete type

This commit is contained in:
Aleksey Kladov
2020-02-25 12:42:44 +01:00
parent 1fe48a0115
commit 136151515a
2 changed files with 14 additions and 13 deletions

View File

@@ -49,7 +49,7 @@ pub(crate) fn supported_token_modifiers() -> &'static [SemanticTokenModifier] {
}
/// Tokens are encoded relative to each other.
///
///
/// This is a direct port of https://github.com/microsoft/vscode-languageserver-node/blob/f425af9de46a0187adb78ec8a46b9b2ce80c5412/server/src/sematicTokens.proposed.ts#L45
#[derive(Default)]
pub(crate) struct SemanticTokensBuilder {