浏览代码

Fix invalid change in last commit causing compilation error

timvisee 6 年之前
父节点
当前提交
9982049633
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      src/util.rs

+ 1 - 7
src/util.rs

@@ -572,13 +572,7 @@ impl ClipboardType {
     }
 }
 
-#[cfg(any(
-    target_os = "linux",
-    target_os = "freebsd",
-    target_os = "dragonfly",
-    target_os = "openbsd",
-    target_os = "netbsd",
-))]
+#[cfg(feature = "clipboard")]
 impl fmt::Display for ClipboardType {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         match self {