diagnostics: Use Vec<Tag> instead of Option<Vec<Tag>>

This commit is contained in:
Blaž Hrastnik 2022-09-20 16:28:00 +09:00
parent 64b0745413
commit 1df32c917c
3 changed files with 14 additions and 15 deletions

View file

@ -43,6 +43,6 @@ pub struct Diagnostic {
pub message: String,
pub severity: Option<Severity>,
pub code: Option<NumberOrString>,
pub tags: Option<Vec<DiagnosticTag>>,
pub tags: Vec<DiagnosticTag>,
pub source: Option<String>,
}