From 62c5c1ae431790e36ffeb0eebba75dfabb5dbd76 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 9 Dec 2017 16:13:22 +0100 Subject: make resource proxies not Sync --- macros/src/trans.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'macros/src/trans.rs') diff --git a/macros/src/trans.rs b/macros/src/trans.rs index 77eada4..9bf1e2a 100644 --- a/macros/src/trans.rs +++ b/macros/src/trans.rs @@ -440,8 +440,6 @@ fn resources(app: &App, ownerships: &Ownerships, root: &mut Vec) { #[allow(non_camel_case_types)] pub struct #name { _0: PhantomData<*const ()> } - unsafe impl Sync for #name {} - #[allow(unsafe_code)] impl #name { pub unsafe fn new() -> Self { -- cgit v1.2.3