diff options
author | 2017-12-09 16:13:22 +0100 | |
---|---|---|
committer | 2017-12-09 16:13:22 +0100 | |
commit | 62c5c1ae431790e36ffeb0eebba75dfabb5dbd76 (patch) | |
tree | 53fd6aaad6757a60762ec687207ea956cbfede36 /macros/src | |
parent | 40ebb93cc6ec8533d4532853c3fd01693af09d8e (diff) | |
download | rtic-62c5c1ae431790e36ffeb0eebba75dfabb5dbd76.tar.gz rtic-62c5c1ae431790e36ffeb0eebba75dfabb5dbd76.tar.zst rtic-62c5c1ae431790e36ffeb0eebba75dfabb5dbd76.zip |
make resource proxies not Sync
Diffstat (limited to 'macros/src')
-rw-r--r-- | macros/src/trans.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/macros/src/trans.rs b/macros/src/trans.rs index 77eada41..9bf1e2a9 100644 --- a/macros/src/trans.rs +++ b/macros/src/trans.rs @@ -440,8 +440,6 @@ fn resources(app: &App, ownerships: &Ownerships, root: &mut Vec<Tokens>) { #[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 { |