From 1faf18eee11f14969b77ae0f76dcd9ebd437d0c2 Mon Sep 17 00:00:00 2001 From: JOE1994 Date: Tue, 19 Jan 2021 22:33:02 -0500 Subject: [PATCH] Fix Send/Sync impl of RcuCell --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 860e5cf..641a153 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -372,8 +372,8 @@ pub struct RcuCell { link: LinkWrapper, } -unsafe impl Send for RcuCell {} -unsafe impl Sync for RcuCell {} +unsafe impl Send for RcuCell {} +unsafe impl Sync for RcuCell {} impl Default for RcuCell { fn default() -> Self {