Ver Fonte

Silence unused function on non Windows platforms

Christian Göttsche há 3 anos atrás
pai
commit
05a19a7303
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/output/render/permissions.rs

+ 1 - 0
src/output/render/permissions.rs

@@ -88,6 +88,7 @@ impl f::Permissions {
     }
 }
 
+#[cfg(windows)]
 impl f::Attributes {
     pub fn render<C: Colours+FiletypeColours>(&self, colours: &C) -> Vec<ANSIString<'static>> {
         let bit = |bit, chr: &'static str, style: Style| {