Skip to content

Commit 688db1d

Browse files
author
Stjepan Glavina
committed
Add stability attributes
1 parent 89a8162 commit 688db1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/thread/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,9 @@ impl<T> JoinInner<T> {
12761276
#[stable(feature = "rust1", since = "1.0.0")]
12771277
pub struct JoinHandle<T>(JoinInner<T>);
12781278

1279+
#[stable(feature = "joinhandle_impl_send_sync", since = "1.29.0")]
12791280
unsafe impl<T> Send for JoinHandle<T> {}
1281+
#[stable(feature = "joinhandle_impl_send_sync", since = "1.29.0")]
12801282
unsafe impl<T> Sync for JoinHandle<T> {}
12811283

12821284
impl<T> JoinHandle<T> {

0 commit comments

Comments
 (0)