Skip to content

Commit f5491e6

Browse files
committed
Stabilize Send/Sync.
1 parent 74199c2 commit f5491e6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/libcore/marker.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ pub unsafe trait Send: 'static {
4141
// empty.
4242
}
4343
/// Types able to be transferred across thread boundaries.
44-
#[unstable(feature = "core",
45-
reason = "will be overhauled with new lifetime rules; see RFC 458")]
44+
#[stable(feature = "rust1", since = "1.0.0")]
4645
#[lang="send"]
4746
#[rustc_on_unimplemented = "`{Self}` cannot be sent between threads safely"]
4847
#[cfg(not(stage0))]
@@ -208,8 +207,7 @@ pub trait Copy : MarkerTrait {
208207
/// around the value(s) which can be mutated when behind a `&`
209208
/// reference; not doing this is undefined behaviour (for example,
210209
/// `transmute`-ing from `&T` to `&mut T` is illegal).
211-
#[unstable(feature = "core",
212-
reason = "will be overhauled with new lifetime rules; see RFC 458")]
210+
#[stable(feature = "rust1", since = "1.0.0")]
213211
#[lang="sync"]
214212
#[rustc_on_unimplemented = "`{Self}` cannot be shared between threads safely"]
215213
pub unsafe trait Sync : MarkerTrait {

0 commit comments

Comments
 (0)