From 218875c3a6378f34921192405bd07485446c1a92 Mon Sep 17 00:00:00 2001 From: Ana Gelez Date: Mon, 4 Nov 2024 09:57:13 +0100 Subject: [PATCH] oops --- src/check/compile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check/compile.rs b/src/check/compile.rs index 881c654..d5d1075 100644 --- a/src/check/compile.rs +++ b/src/check/compile.rs @@ -27,7 +27,7 @@ fn convert_diagnostics<'a>( iter: impl IntoIterator + 'a, ) -> impl Iterator> + 'a { iter.into_iter() - .filter(|diagnostic| diagnostic.message.starts_with("unknown font family:")) + .filter(|diagnostic| !diagnostic.message.starts_with("unknown font family:")) .map(|diagnostic| { let severity = if diagnostic.severity == Severity::Error { "error"