diff options
author | Icxolu <10486322+Icxolu@users.noreply.github.com> | 2022-11-24 19:15:49 +0100 |
---|---|---|
committer | Abin Simon <abinsimon10@gmail.com> | 2022-11-26 09:41:24 +0530 |
commit | aed96649bee05935fb91f18d0dcd5688886aea69 (patch) | |
tree | a37135b8a955f00e620cdf07a24236746fa5db92 | |
parent | d9b4b05d27604d702bd057833eb99a366c1def9c (diff) |
remove unused `is_executable` on Windows
-rw-r--r-- | src/meta/permissions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meta/permissions.rs b/src/meta/permissions.rs index 3a38030..7b09252 100644 --- a/src/meta/permissions.rs +++ b/src/meta/permissions.rs @@ -127,7 +127,7 @@ impl Permissions { ColoredString::new(Colors::default_style(), res) } - #[cfg_attr(windows, allow(dead_code))] + #[cfg(not(windows))] pub fn is_executable(&self) -> bool { self.user_execute || self.group_execute || self.other_execute } |