From d15ac9be55027b901eeaa2a36ec7976caf18b4cc Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Wed, 28 Sep 2016 12:05:02 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20pretend=20DOMRefCell=20is=20Sen?= =?UTF-8?q?d=20or=20Sync,=20after=20all.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/script/dom/bindings/cell.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/script/dom/bindings/cell.rs b/components/script/dom/bindings/cell.rs index 0f1945ef251..eef98076c0b 100644 --- a/components/script/dom/bindings/cell.rs +++ b/components/script/dom/bindings/cell.rs @@ -16,13 +16,6 @@ pub struct DOMRefCell { value: RefCell, } -// FIXME: These two impls make promises that are not quite true, -// but maybe the debug_assert! makes it close enough. -#[allow(unsafe_code)] -unsafe impl Send for DOMRefCell {} -#[allow(unsafe_code)] -unsafe impl Sync for DOMRefCell {} - // Functionality specific to Servo's `DOMRefCell` type // ===================================================