diff options
| author | Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> | 2016-05-28 02:25:16 +0530 |
|---|---|---|
| committer | Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> | 2016-05-28 02:25:16 +0530 |
| commit | 3fd0e4c7f2eafa4382ff33a3274cec03e8b207f2 (patch) | |
| tree | b1e49d44350cc71af150d272b6e04159f1e9a5e7 /src/liballoc/boxed.rs | |
| parent | ab7c35fa0fcd725cdc207487b760d85fd07ecdd7 (diff) | |
| download | rust-3fd0e4c7f2eafa4382ff33a3274cec03e8b207f2.tar.gz rust-3fd0e4c7f2eafa4382ff33a3274cec03e8b207f2.zip | |
rustfmt liballoc folder
Diffstat (limited to 'src/liballoc/boxed.rs')
| -rw-r--r-- | src/liballoc/boxed.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 10e4ea1c3f0..51523ca8dc6 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -64,7 +64,7 @@ use core::hash::{self, Hash}; use core::marker::{self, Unsize}; use core::mem; use core::ops::{CoerceUnsized, Deref, DerefMut}; -use core::ops::{Placer, Boxed, Place, InPlace, BoxPlace}; +use core::ops::{BoxPlace, Boxed, InPlace, Place, Placer}; use core::ptr::{self, Unique}; use core::raw::TraitObject; use core::convert::From; @@ -535,7 +535,8 @@ pub trait FnBox<A> { #[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> +impl<A, F> FnBox<A> for F + where F: FnOnce<A> { type Output = F::Output; |
