Sfoglia il codice sorgente

fix(netbsd): enable the rule only for NetBSD.

Santhosh Raju 1 anno fa
parent
commit
17733e9aee
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/output/mod.rs

+ 1 - 1
src/output/mod.rs

@@ -1,4 +1,4 @@
-#[allow(unused_imports)]
+#[cfg_attr(target_os = "netbsd", allow(unused_imports))]
 pub use self::cell::{DisplayWidth, TextCell, TextCellContents};
 pub use self::escape::escape;