@@ -587,15 +587,15 @@ impl<I: FusedIterator + ?Sized> FusedIterator for Box<I> {}
587
587
/// ```
588
588
#[ rustc_paren_sugar]
589
589
#[ unstable( feature = "fnbox" ,
590
- reason = "will be deprecated if and when Box<FnOnce> becomes usable" , issue = "28796" ) ]
590
+ reason = "will be deprecated if and when ` Box<FnOnce>` becomes usable" , issue = "28796" ) ]
591
591
pub trait FnBox < A > {
592
592
type Output ;
593
593
594
594
fn call_box ( self : Box < Self > , args : A ) -> Self :: Output ;
595
595
}
596
596
597
597
#[ unstable( feature = "fnbox" ,
598
- reason = "will be deprecated if and when Box<FnOnce> becomes usable" , issue = "28796" ) ]
598
+ reason = "will be deprecated if and when ` Box<FnOnce>` becomes usable" , issue = "28796" ) ]
599
599
impl < A , F > FnBox < A > for F
600
600
where F : FnOnce < A >
601
601
{
@@ -607,7 +607,7 @@ impl<A, F> FnBox<A> for F
607
607
}
608
608
609
609
#[ unstable( feature = "fnbox" ,
610
- reason = "will be deprecated if and when Box<FnOnce> becomes usable" , issue = "28796" ) ]
610
+ reason = "will be deprecated if and when ` Box<FnOnce>` becomes usable" , issue = "28796" ) ]
611
611
impl < ' a , A , R > FnOnce < A > for Box < FnBox < A , Output = R > + ' a > {
612
612
type Output = R ;
613
613
@@ -617,7 +617,7 @@ impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> {
617
617
}
618
618
619
619
#[ unstable( feature = "fnbox" ,
620
- reason = "will be deprecated if and when Box<FnOnce> becomes usable" , issue = "28796" ) ]
620
+ reason = "will be deprecated if and when ` Box<FnOnce>` becomes usable" , issue = "28796" ) ]
621
621
impl < ' a , A , R > FnOnce < A > for Box < FnBox < A , Output = R > + Send + ' a > {
622
622
type Output = R ;
623
623
0 commit comments