mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-24 13:19:41 +00:00
Narrow the disclosure range of FlattenCompat::new
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
This commit is contained in:
parent
37f14b0195
commit
a42ae2f3d9
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ pin_project! {
|
|||
|
||||
impl<S, U> FlattenCompat<S, U> {
|
||||
/// Adapts an iterator by flattening it, for use in `flatten()` and `flat_map()`.
|
||||
pub fn new(stream: S) -> FlattenCompat<S, U> {
|
||||
fn new(stream: S) -> FlattenCompat<S, U> {
|
||||
FlattenCompat {
|
||||
stream,
|
||||
frontiter: None,
|
||||
|
|
Loading…
Reference in a new issue