Skip to content

Commit 1683cd5

Browse files
committed
UniqueRc: (Ref)UnwindSafe
1 parent 2d22259 commit 1683cd5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

library/alloc/src/rc.rs

+5
Original file line numberDiff line numberDiff line change
@@ -3713,6 +3713,11 @@ impl<T: ?Sized, A: Allocator> !Send for UniqueRc<T, A> {}
37133713
#[unstable(feature = "unique_rc_arc", issue = "112566")]
37143714
impl<T: ?Sized, A: Allocator> !Sync for UniqueRc<T, A> {}
37153715

3716+
#[unstable(feature = "unique_rc_arc", issue = "112566")]
3717+
impl<T: UnwindSafe + ?Sized, A: Allocator + UnwindSafe> UnwindSafe for UniqueRc<T, A> {}
3718+
#[unstable(feature = "unique_rc_arc", issue = "112566")]
3719+
impl<T: RefUnwindSafe + ?Sized, A: Allocator + UnwindSafe> RefUnwindSafe for UniqueRc<T, A> {}
3720+
37163721
#[unstable(feature = "unique_rc_arc", issue = "112566")]
37173722
impl<T: ?Sized + Unsize<U>, U: ?Sized, A: Allocator> CoerceUnsized<UniqueRc<U, A>>
37183723
for UniqueRc<T, A>

0 commit comments

Comments
 (0)