From 9b0edf270e91766a9f46f34038ec7ac7589a430f Mon Sep 17 00:00:00 2001 From: Ofer Sadan Date: Thu, 4 Jan 2024 16:17:58 +0200 Subject: [PATCH] fixed "elided_lifetimes_in_associated_constant" warning --- src/meta/filetype.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/filetype.rs b/src/meta/filetype.rs index 61f63482c..66a235b95 100644 --- a/src/meta/filetype.rs +++ b/src/meta/filetype.rs @@ -16,7 +16,7 @@ pub enum FileType { impl FileType { #[cfg(windows)] - const EXECUTABLE_EXTENSIONS: &[&'static str] = &["exe", "msi", "bat", "ps1"]; + const EXECUTABLE_EXTENSIONS: &'static[&'static str] = &["exe", "msi", "bat", "ps1"]; #[cfg(unix)] pub fn new(