parallel-stream icon indicating copy to clipboard operation
parallel-stream copied to clipboard

Added skip and Skip struct to parallel stream.

Open justin1dennison opened this issue 5 years ago • 1 comments

justin1dennison avatar Mar 23 '20 21:03 justin1dennison

I don't know if I am way off base with this implementation. I am having the following issue:


--> src/par_stream/skip.rs:42:23
   |
42 |         Skip { limit, receiver }
   |                       ^^^^^^^^ expected type parameter `T`, found associated type
   |
   = note: expected struct `async_std::sync::channel::Receiver<T>`
              found struct `async_std::sync::channel::Receiver<<S as par_stream::ParallelStream>::Item>`
   = note: you might be missing a type parameter or trait bound

justin1dennison avatar Mar 24 '20 13:03 justin1dennison