core: Eliminate some overloading of the name "future" in future.rs

This commit is contained in:
Patrick Walton
2012-07-03 11:23:12 -07:00
parent d52f0f79bc
commit 1c2843c8ad
3 changed files with 6 additions and 5 deletions

View File

@@ -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"];