Fix naming convention issue
This commit is contained in:
parent
4e617291c2
commit
9eee0d2288
@ -47,7 +47,7 @@ impl<'a, T> LocalFutureObj<'a, T> {
|
|||||||
/// instance from which this `LocalFutureObj` was created actually
|
/// instance from which this `LocalFutureObj` was created actually
|
||||||
/// implements `Send`.
|
/// implements `Send`.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub unsafe fn as_future_obj(self) -> FutureObj<'a, T> {
|
pub unsafe fn into_future_obj(self) -> FutureObj<'a, T> {
|
||||||
FutureObj(self)
|
FutureObj(self)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user