Skip to content

Commit

Permalink
Fix naming convention issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorBreakfast committed Jul 2, 2018
1 parent 4e61729 commit 9eee0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/future/future_obj.rs
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 9eee0d2

Please sign in to comment.