Skip to content

Commit 9290277

Browse files
committed
hide future::Flatten
Signed-off-by: Yoshua Wuyts <[email protected]>
1 parent 9a88056 commit 9290277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/future/future/flatten.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ enum State<Fut1, Fut2> {
1818
}
1919

2020
impl<Fut1, Fut2> FlattenFuture<Fut1, Fut2> {
21-
pub fn new(future: Fut1) -> FlattenFuture<Fut1, Fut2> {
21+
pub(crate) fn new(future: Fut1) -> FlattenFuture<Fut1, Fut2> {
2222
FlattenFuture {
2323
state: State::First(future),
2424
}

0 commit comments

Comments
 (0)