Not able to import FilterMap type
Plebshot opened this issue · comments
For some reason, async_std
follows a pattern where Future
combinator types are pub
, but defined in non-pub
modules. This isn't the pattern followed for Stream
combinators, however.
The issue with FilterMap
is that it was added to the "future" non-pub use
section of
async-std/src/stream/stream/mod.rs
Line 74 in bf316b0
pub use
section below at async-std/src/stream/stream/mod.rs
Line 98 in bf316b0