aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2017-04-07 17:54:36 -0500
committerJorge Aparicio <japaricious@gmail.com>2017-04-07 17:54:36 -0500
commit8e1c72057c6fdd09ad14e9b69596e17fcfd9335f (patch)
tree0707814e8ae6bc81165e3393b33d22239b167bf3
parent2ae638995c7b03db9a145197cf3a5d0c6d5fe20c (diff)
impl Sync for checked::Resource
-rw-r--r--src/checked.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/checked.rs b/src/checked.rs
index 836890d..fbdf692 100644
--- a/src/checked.rs
+++ b/src/checked.rs
@@ -75,3 +75,5 @@ where
}
}
}
+
+unsafe impl<T, C> Sync for Resource<T, C> {}