Browse Source

Fix invalid change in last commit causing compilation error

timvisee 6 years ago
parent
commit
9982049633
1 changed files with 1 additions and 7 deletions
  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 {