diff options
author | Blaž Hrastnik | 2022-09-20 07:28:00 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-09-20 07:28:00 +0000 |
commit | 1df32c917c8a386947063403577098d1277380c7 (patch) | |
tree | e1b12844309a833fe44167285d90fa83ed5de045 /helix-core | |
parent | 64b074541363c72534dc86d00053ecbd5511a9ca (diff) |
diagnostics: Use Vec<Tag> instead of Option<Vec<Tag>>
Diffstat (limited to 'helix-core')
-rw-r--r-- | helix-core/src/diagnostic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/diagnostic.rs b/helix-core/src/diagnostic.rs index da199ac9..db1f2da9 100644 --- a/helix-core/src/diagnostic.rs +++ b/helix-core/src/diagnostic.rs @@ -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>, } |