From 083eb5c3161f10192638abd0b29a687e4a285a60 Mon Sep 17 00:00:00 2001 From: Botahamec Date: Wed, 26 Oct 2022 22:39:04 -0400 Subject: Removed derive traits --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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> = Mutex::new(Some(unsafe { ThreadKey::new() })); } -#[derive(Debug, PartialEq, Eq, Hash)] +#[derive(Debug)] pub struct ThreadKey { _priv: *const (), // this isn't Send or Sync } -- cgit v1.2.3