From 1df32c917c8a386947063403577098d1277380c7 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 20 Sep 2022 16:28:00 +0900 Subject: diagnostics: Use Vec instead of Option> --- helix-term/src/application.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helix-term/src') 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 { -- cgit v1.2.3-70-g09d2