@@ -89,15 +89,15 @@ delegate_all!(
8989delegate_all ! (
9090 /// Future for the [`inspect_ok`](super::TryFutureExt::inspect_ok) method.
9191 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) ) ]
9494) ;
9595
9696delegate_all ! (
9797 /// Future for the [`inspect_err`](super::TryFutureExt::inspect_err) method.
9898 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) ) ]
101101) ;
102102
103103#[ allow( unreachable_pub) ] // https://github.com/rust-lang/rust/issues/57411
@@ -106,29 +106,29 @@ pub use self::into_future::IntoFuture;
106106delegate_all ! (
107107 /// Future for the [`map_ok`](TryFutureExt::map_ok) method.
108108 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) ) ]
111111) ;
112112
113113delegate_all ! (
114114 /// Future for the [`map_err`](TryFutureExt::map_err) method.
115115 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) ) ]
118118) ;
119119
120120delegate_all ! (
121121 /// Future for the [`map_ok_or_else`](TryFutureExt::map_ok_or_else) method.
122122 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) ) ]
125125) ;
126126
127127delegate_all ! (
128128 /// Future for the [`unwrap_or_else`](TryFutureExt::unwrap_or_else) method.
129129 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) ) ]
132132) ;
133133
134134impl < Fut : ?Sized + TryFuture > TryFutureExt for Fut { }
0 commit comments