Skip to content

Commit 9eee0d2

Browse files
Fix naming convention issue
1 parent 4e61729 commit 9eee0d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/future/future_obj.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl<'a, T> LocalFutureObj<'a, T> {
4747
/// instance from which this `LocalFutureObj` was created actually
4848
/// implements `Send`.
4949
#[inline]
50-
pub unsafe fn as_future_obj(self) -> FutureObj<'a, T> {
50+
pub unsafe fn into_future_obj(self) -> FutureObj<'a, T> {
5151
FutureObj(self)
5252
}
5353
}

0 commit comments

Comments
 (0)