We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cebfce commit a076001Copy full SHA for a076001
src/rc/retained.rs
@@ -51,6 +51,13 @@ pub struct Retained<T> {
51
phantom: PhantomData<T>,
52
}
53
54
+// SAFETY: TODO
55
+unsafe impl<T: Sync + Send> Send for Retained<T> {}
56
+
57
58
+unsafe impl<T: Sync + Send> Sync for Retained<T> {}
59
60
61
impl<T> Retained<T> {
62
/// Constructs a `Retained<T>` to an object that already has a +1 retain
63
/// count. This will not retain the object.
0 commit comments