Skip to content

Commit

Permalink
Add stability attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stjepan Glavina committed Jul 27, 2018
1 parent 89a8162 commit 688db1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstd/thread/mod.rs
Expand Up @@ -1276,7 +1276,9 @@ impl<T> JoinInner<T> {
#[stable(feature = "rust1", since = "1.0.0")]
pub struct JoinHandle<T>(JoinInner<T>);

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

impl<T> JoinHandle<T> {
Expand Down

0 comments on commit 688db1d

Please sign in to comment.