1
0
Эх сурвалжийг харах

Silence unused function on non Windows platforms

Christian Göttsche 3 жил өмнө
parent
commit
05a19a7303

+ 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| {