aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-09-20 07:28:00 +0000
committerBlaž Hrastnik2022-09-20 07:28:00 +0000
commit1df32c917c8a386947063403577098d1277380c7 (patch)
treee1b12844309a833fe44167285d90fa83ed5de045 /helix-term
parent64b074541363c72534dc86d00053ecbd5511a9ca (diff)
diagnostics: Use Vec<Tag> instead of Option<Vec<Tag>>
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/application.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 496464f0..cd499f1c 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -614,9 +614,9 @@ impl Application {
}
}).collect();
- Some(new_tags)
+ new_tags
} else {
- None
+ Vec::new()
};
Some(Diagnostic {