]> git.lizzy.rs Git - rust.git/commitdiff
Stabilize Send/Sync.
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 18 Feb 2015 22:30:14 +0000 (17:30 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 18 Feb 2015 22:30:14 +0000 (17:30 -0500)
src/libcore/marker.rs

index c97b1713abc57289a6e063ba50ecded4930b505b..dc792a3f47f60c98f693488ede491b72f7e85cf6 100644 (file)
@@ -41,8 +41,7 @@ pub unsafe trait Send: 'static {
     // empty.
 }
 /// Types able to be transferred across thread boundaries.
-#[unstable(feature = "core",
-           reason = "will be overhauled with new lifetime rules; see RFC 458")]
+#[stable(feature = "rust1", since = "1.0.0")]
 #[lang="send"]
 #[rustc_on_unimplemented = "`{Self}` cannot be sent between threads safely"]
 #[cfg(not(stage0))]
@@ -208,8 +207,7 @@ pub trait Copy : MarkerTrait {
 /// around the value(s) which can be mutated when behind a `&`
 /// reference; not doing this is undefined behaviour (for example,
 /// `transmute`-ing from `&T` to `&mut T` is illegal).
-#[unstable(feature = "core",
-           reason = "will be overhauled with new lifetime rules; see RFC 458")]
+#[stable(feature = "rust1", since = "1.0.0")]
 #[lang="sync"]
 #[rustc_on_unimplemented = "`{Self}` cannot be shared between threads safely"]
 pub unsafe trait Sync : MarkerTrait {