File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,20 +9,20 @@ pub trait IntoFuture {
9
9
10
10
/// Which kind of future are we turning this into?
11
11
#[ unstable( feature = "into_future" , issue = "67644" ) ]
12
- type Future : Future < Output = Self :: Output > ;
12
+ type IntoFuture : Future < Output = Self :: Output > ;
13
13
14
14
/// Creates a future from a value.
15
15
#[ unstable( feature = "into_future" , issue = "67644" ) ]
16
16
#[ lang = "into_future" ]
17
- fn into_future ( self ) -> Self :: Future ;
17
+ fn into_future ( self ) -> Self :: IntoFuture ;
18
18
}
19
19
20
20
#[ unstable( feature = "into_future" , issue = "67644" ) ]
21
21
impl < F : Future > IntoFuture for F {
22
22
type Output = F :: Output ;
23
- type Future = F ;
23
+ type IntoFuture = F ;
24
24
25
- fn into_future ( self ) -> Self :: Future {
25
+ fn into_future ( self ) -> Self :: IntoFuture {
26
26
self
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments