瀏覽代碼

Silence unused function on non Windows platforms

Christian Göttsche 3 年之前
父節點
當前提交
05a19a7303
共有 1 個文件被更改,包括 1 次插入0 次删除
  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| {