Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alecmocatta committed Aug 4, 2020
1 parent 80beab2 commit bea8da8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion amadeus-core/src/par_pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ macro_rules! pipe {
#[inline]
fn mean(self) -> Mean<Self>
where
Self: $pipe<Item =f64> + Sized,
Self: $pipe<Input, Output = f64> + Sized,
{
$assert_sink(Mean::new(self))
}
Expand Down
2 changes: 1 addition & 1 deletion amadeus-core/src/par_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ macro_rules! stream {
P: $pool,
Self::Item: 'static,
Self::Task: 'static,
Self: Sized,
Self: $stream<Item = f64> + Sized,
{
self.pipe(pool, $pipe::<Self::Item>::mean(Identity))
.await
Expand Down

0 comments on commit bea8da8

Please sign in to comment.