about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorCharles Lew <crlf0710@gmail.com>2019-02-11 11:09:26 +0900
committerCrLF0710 <crlf0710@gmail.com>2019-04-05 02:32:21 +0800
commitecc3e89dd072ed20d9aa6d53be0ab1c44d160232 (patch)
tree0cd68314a770eb4fdff72b596e0e0736d2ca97d7 /src/liballoc
parent45c0b28bcb6e383cd9d24d3845ee8accda31c889 (diff)
downloadrust-ecc3e89dd072ed20d9aa6d53be0ab1c44d160232.tar.gz
rust-ecc3e89dd072ed20d9aa6d53be0ab1c44d160232.zip
Stabilize boxed_closure_impls in 1.35.0.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index d4fe8be36d6..f6dee7c9eef 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -694,9 +694,7 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {
 #[stable(feature = "fused", since = "1.26.0")]
 impl<I: FusedIterator + ?Sized> FusedIterator for Box<I> {}
 
-#[unstable(feature = "boxed_closure_impls",
-           reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more",
-           issue = "48055")]
+#[stable(feature = "boxed_closure_impls", since = "1.35.0")]
 impl<A, F: FnOnce<A> + ?Sized> FnOnce<A> for Box<F> {
     type Output = <F as FnOnce<A>>::Output;
 
@@ -705,18 +703,14 @@ impl<A, F: FnOnce<A> + ?Sized> FnOnce<A> for Box<F> {
     }
 }
 
-#[unstable(feature = "boxed_closure_impls",
-           reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more",
-           issue = "48055")]
+#[stable(feature = "boxed_closure_impls", since = "1.35.0")]
 impl<A, F: FnMut<A> + ?Sized> FnMut<A> for Box<F> {
     extern "rust-call" fn call_mut(&mut self, args: A) -> Self::Output {
         <F as FnMut<A>>::call_mut(self, args)
     }
 }
 
-#[unstable(feature = "boxed_closure_impls",
-           reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more",
-           issue = "48055")]
+#[stable(feature = "boxed_closure_impls", since = "1.35.0")]
 impl<A, F: Fn<A> + ?Sized> Fn<A> for Box<F> {
     extern "rust-call" fn call(&self, args: A) -> Self::Output {
         <F as Fn<A>>::call(self, args)