summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3e18d9f..248cdcc 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -5,7 +5,7 @@ thread_local! {
pub static KEY: Mutex<Option<ThreadKey>> = Mutex::new(Some(unsafe { ThreadKey::new() }));
}
-#[derive(Debug, PartialEq, Eq, Hash)]
+#[derive(Debug)]
pub struct ThreadKey {
_priv: *const (), // this isn't Send or Sync
}