@@ -525,14 +525,14 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {}
525
525
/// }
526
526
/// ```
527
527
#[ rustc_paren_sugar]
528
- #[ unstable( feature = "fnbox" , reason = "Newly introduced " , issue = "28796" ) ]
528
+ #[ unstable( feature = "fnbox" , reason = "will be deprecated if and when Box<FnOnce> becomes usable " , issue = "28796" ) ]
529
529
pub trait FnBox < A > {
530
530
type Output ;
531
531
532
532
fn call_box ( self : Box < Self > , args : A ) -> Self :: Output ;
533
533
}
534
534
535
- #[ unstable( feature = "fnbox" , reason = "Newly introduced " , issue = "28796" ) ]
535
+ #[ unstable( feature = "fnbox" , reason = "will be deprecated if and when Box<FnOnce> becomes usable " , issue = "28796" ) ]
536
536
impl < A , F > FnBox < A > for F where F : FnOnce < A >
537
537
{
538
538
type Output = F :: Output ;
@@ -542,7 +542,7 @@ impl<A, F> FnBox<A> for F where F: FnOnce<A>
542
542
}
543
543
}
544
544
545
- #[ unstable( feature = "fnbox" , reason = "Newly introduced " , issue = "28796" ) ]
545
+ #[ unstable( feature = "fnbox" , reason = "will be deprecated if and when Box<FnOnce> becomes usable " , issue = "28796" ) ]
546
546
impl < ' a , A , R > FnOnce < A > for Box < FnBox < A , Output = R > + ' a > {
547
547
type Output = R ;
548
548
@@ -551,7 +551,7 @@ impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> {
551
551
}
552
552
}
553
553
554
- #[ unstable( feature = "fnbox" , reason = "Newly introduced " , issue = "28796" ) ]
554
+ #[ unstable( feature = "fnbox" , reason = "will be deprecated if and when Box<FnOnce> becomes usable " , issue = "28796" ) ]
555
555
impl < ' a , A , R > FnOnce < A > for Box < FnBox < A , Output = R > + Send + ' a > {
556
556
type Output = R ;
557
557
0 commit comments