diff options
| author | Josef Reinhard Brandl <mail@josefbrandl.de> | 2018-07-02 18:16:36 +0200 |
|---|---|---|
| committer | Josef Reinhard Brandl <mail@josefbrandl.de> | 2018-07-02 18:16:36 +0200 |
| commit | 9eee0d2288c067be081f2ca35f5b2d3cfc95fcf2 (patch) | |
| tree | c79c6bc65c1c55e6697930c7d7d26ba1fbba8efd /src/libcore/future | |
| parent | 4e617291c2c7b918ec9a183dd2ce72ac92edf940 (diff) | |
| download | rust-9eee0d2288c067be081f2ca35f5b2d3cfc95fcf2.tar.gz rust-9eee0d2288c067be081f2ca35f5b2d3cfc95fcf2.zip | |
Fix naming convention issue
Diffstat (limited to 'src/libcore/future')
| -rw-r--r-- | src/libcore/future/future_obj.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/future/future_obj.rs b/src/libcore/future/future_obj.rs index b42fd2b5bd7..86fe9825ded 100644 --- a/src/libcore/future/future_obj.rs +++ b/src/libcore/future/future_obj.rs @@ -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) } } |
