@@ -89,15 +89,15 @@ delegate_all!(
89
89
delegate_all ! (
90
90
/// Future for the [`inspect_ok`](super::TryFutureExt::inspect_ok) method.
91
91
InspectOk <Fut , F >(
92
- Inspect <IntoFuture < Fut > , InspectOkFn <F >>
93
- ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F | Inspect :: new( IntoFuture :: new ( x ) , inspect_ok_fn( f) ) ]
92
+ Inspect <Fut , InspectOkFn <F >>
93
+ ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F | Inspect :: new( x , inspect_ok_fn( f) ) ]
94
94
) ;
95
95
96
96
delegate_all ! (
97
97
/// Future for the [`inspect_err`](super::TryFutureExt::inspect_err) method.
98
98
InspectErr <Fut , F >(
99
- Inspect <IntoFuture < Fut > , InspectErrFn <F >>
100
- ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F | Inspect :: new( IntoFuture :: new ( x ) , inspect_err_fn( f) ) ]
99
+ Inspect <Fut , InspectErrFn <F >>
100
+ ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F | Inspect :: new( x , inspect_err_fn( f) ) ]
101
101
) ;
102
102
103
103
#[ allow( unreachable_pub) ] // https://github.com/rust-lang/rust/issues/57411
@@ -106,29 +106,29 @@ pub use self::into_future::IntoFuture;
106
106
delegate_all ! (
107
107
/// Future for the [`map_ok`](TryFutureExt::map_ok) method.
108
108
MapOk <Fut , F >(
109
- Map <IntoFuture < Fut > , MapOkFn <F >>
110
- ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F | Map :: new( IntoFuture :: new ( x ) , map_ok_fn( f) ) ]
109
+ Map <Fut , MapOkFn <F >>
110
+ ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F | Map :: new( x , map_ok_fn( f) ) ]
111
111
) ;
112
112
113
113
delegate_all ! (
114
114
/// Future for the [`map_err`](TryFutureExt::map_err) method.
115
115
MapErr <Fut , F >(
116
- Map <IntoFuture < Fut > , MapErrFn <F >>
117
- ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F | Map :: new( IntoFuture :: new ( x ) , map_err_fn( f) ) ]
116
+ Map <Fut , MapErrFn <F >>
117
+ ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F | Map :: new( x , map_err_fn( f) ) ]
118
118
) ;
119
119
120
120
delegate_all ! (
121
121
/// Future for the [`map_ok_or_else`](TryFutureExt::map_ok_or_else) method.
122
122
MapOkOrElse <Fut , F , G >(
123
- Map <IntoFuture < Fut > , MapOkOrElseFn <F , G >>
124
- ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F , g: G | Map :: new( IntoFuture :: new ( x ) , map_ok_or_else_fn( f, g) ) ]
123
+ Map <Fut , MapOkOrElseFn <F , G >>
124
+ ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F , g: G | Map :: new( x , map_ok_or_else_fn( f, g) ) ]
125
125
) ;
126
126
127
127
delegate_all ! (
128
128
/// Future for the [`unwrap_or_else`](TryFutureExt::unwrap_or_else) method.
129
129
UnwrapOrElse <Fut , F >(
130
- Map <IntoFuture < Fut > , UnwrapOrElseFn <F >>
131
- ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F | Map :: new( IntoFuture :: new ( x ) , unwrap_or_else_fn( f) ) ]
130
+ Map <Fut , UnwrapOrElseFn <F >>
131
+ ) : Debug + Future + FusedFuture + New [ |x: Fut , f: F | Map :: new( x , unwrap_or_else_fn( f) ) ]
132
132
) ;
133
133
134
134
impl < Fut : ?Sized + TryFuture > TryFutureExt for Fut { }
0 commit comments