From f98627a317615151681ca8b324052eb4a170b789 Mon Sep 17 00:00:00 2001
From: Héctor Ramón Jiménez <hector@hecrj.dev>
Date: Sun, 12 Nov 2023 03:40:32 +0100
Subject: Add missing `'static` lifetimes to constant slices

---
 highlighter/src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'highlighter')

diff --git a/highlighter/src/lib.rs b/highlighter/src/lib.rs
index 5630756e..63f21fc0 100644
--- a/highlighter/src/lib.rs
+++ b/highlighter/src/lib.rs
@@ -168,7 +168,7 @@ pub enum Theme {
 }
 
 impl Theme {
-    pub const ALL: &[Self] = &[
+    pub const ALL: &'static [Self] = &[
         Self::SolarizedDark,
         Self::Base16Mocha,
         Self::Base16Ocean,
-- 
cgit