forked from mirror/async-std
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> {
|
impl<S, U> FlattenCompat<S, U> {
|
||||||
/// Adapts an iterator by flattening it, for use in `flatten()` and `flat_map()`.
|
/// 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 {
|
FlattenCompat {
|
||||||
stream,
|
stream,
|
||||||
frontiter: None,
|
frontiter: None,
|
||||||
|
|
Loading…
Reference in a new issue