Przeglądaj źródła

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

Santhosh Raju 1 rok temu
rodzic
commit
17733e9aee
1 zmienionych plików z 1 dodań i 1 usunięć
  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;