Fix naming convention issue

This commit is contained in:
Josef Reinhard Brandl 2018-07-02 18:16:36 +02:00
parent 4e617291c2
commit 9eee0d2288

View File

@ -47,7 +47,7 @@ impl<'a, T> LocalFutureObj<'a, T> {
/// instance from which this `LocalFutureObj` was created actually
/// implements `Send`.
#[inline]
pub unsafe fn as_future_obj(self) -> FutureObj<'a, T> {
pub unsafe fn into_future_obj(self) -> FutureObj<'a, T> {
FutureObj(self)
}
}