Skip to content

Commit

Permalink
Automatic formatting with rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Tidy Bot committed May 22, 2020
1 parent 6d97618 commit 9f8476e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions amadeus-core/src/dist_iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ pub trait DistributedIterator {
let reduce1 = reduce1factory.make();
pool.spawn(FnOnce!(move || -> <R1 as ReducerA>::Output {
futures::executor::block_on(futures::future::poll_fn(|cx| {

#[pin_project]
struct Connect<A, B>(#[pin] A, #[pin] B);
impl<A, B> ConsumerAsync for Connect<A, B>
Expand All @@ -186,7 +185,8 @@ pub trait DistributedIterator {
{
type Item = B::Item;
fn poll_run(
self: Pin<&mut Self>, cx: &mut Context, sink: Pin<&mut impl Sink<Self::Item>>,
self: Pin<&mut Self>, cx: &mut Context,
sink: Pin<&mut impl Sink<Self::Item>>,
) -> Poll<()> {
#[pin_project]
struct Proxy<'a, I, B>(#[pin] I, Pin<&'a mut B>);
Expand Down Expand Up @@ -214,7 +214,6 @@ pub trait DistributedIterator {
// pin_mut!(task);

todo!()

}))
// #[pin_project]
// struct Connect<I, R>(I, #[pin] R);
Expand Down

0 comments on commit 9f8476e

Please sign in to comment.