diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-07-03 11:23:12 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-07-03 11:24:01 -0700 |
| commit | 1c2843c8adb670570c6a18a06a5d1473b17afffb (patch) | |
| tree | 8e23ba72162c2bb962116995c963ce470d950463 /src/libcore/future.rs | |
| parent | d52f0f79bcfd86b689d88a2edfcdb4aafac2e8af (diff) | |
core: Eliminate some overloading of the name "future" in future.rs
Diffstat (limited to 'src/libcore/future.rs')
| -rw-r--r-- | src/libcore/future.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/future.rs b/src/libcore/future.rs index 97c6babb89d..c70d123d4af 100644 --- a/src/libcore/future.rs +++ b/src/libcore/future.rs @@ -14,6 +14,7 @@ io::println(#fmt(\"fib(5000) = %?\", delayed_fib.get())) import either::either; export future; +export extensions; export from_value; export from_port; export from_fn; @@ -27,7 +28,7 @@ enum future<A> = { }; #[doc = "Methods on the `future` type"] -impl future<A:copy send> for future<A> { +impl extensions<A:copy send> for future<A> { fn get() -> A { #[doc = "Get the value of the future"]; |
