]> git.lizzy.rs Git - rust.git/commitdiff
fix tidy
authorAlex Burka <durka42+github@gmail.com>
Thu, 12 May 2016 14:59:37 +0000 (10:59 -0400)
committerAlex Burka <durka42+github@gmail.com>
Thu, 12 May 2016 14:59:37 +0000 (10:59 -0400)
src/liballoc/boxed.rs

index 20645dc90a8100937d48c2faa7f402d0316379c6..10e4ea1c3f055ab7e0827c9ffb6b76bef9512261 100644 (file)
@@ -525,14 +525,16 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {}
 /// }
 /// ```
 #[rustc_paren_sugar]
-#[unstable(feature = "fnbox", reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
+#[unstable(feature = "fnbox",
+           reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
 pub trait FnBox<A> {
     type Output;
 
     fn call_box(self: Box<Self>, args: A) -> Self::Output;
 }
 
-#[unstable(feature = "fnbox", reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
+#[unstable(feature = "fnbox",
+           reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
 impl<A, F> FnBox<A> for F where F: FnOnce<A>
 {
     type Output = F::Output;
@@ -542,7 +544,8 @@ fn call_box(self: Box<F>, args: A) -> F::Output {
     }
 }
 
-#[unstable(feature = "fnbox", reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
+#[unstable(feature = "fnbox",
+           reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
 impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> {
     type Output = R;
 
@@ -551,7 +554,8 @@ extern "rust-call" fn call_once(self, args: A) -> R {
     }
 }
 
-#[unstable(feature = "fnbox", reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
+#[unstable(feature = "fnbox",
+           reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
 impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + Send + 'a> {
     type Output = R;