Skip to content

Commit

Permalink
fixed "elided_lifetimes_in_associated_constant" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ofersadan85 committed Jan 4, 2024
1 parent 0f93744 commit 9b0edf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/filetype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9b0edf2

Please sign in to comment.