From 6e6798c4e17d9ffa33c0573f329c772e9d96739e Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 26 Mar 2012 18:35:18 -0700 Subject: Bulk-edit mutable -> mut. --- src/libcore/future.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libcore/future.rs') diff --git a/src/libcore/future.rs b/src/libcore/future.rs index 702da24a75f..ba11138d9ae 100644 --- a/src/libcore/future.rs +++ b/src/libcore/future.rs @@ -24,7 +24,7 @@ export spawn; #[doc = "The future type"] enum future = { - mutable v: either<@A, fn@() -> A> + mut v: either<@A, fn@() -> A> }; #[doc = "Methods on the `future` type"] @@ -52,7 +52,7 @@ fn from_value(+val: A) -> future { "]; future({ - mutable v: either::left(@val) + mut v: either::left(@val) }) } @@ -79,7 +79,7 @@ fn from_fn(f: fn@() -> A) -> future { "]; future({ - mutable v: either::right(f) + mut v: either::right(f) }) } -- cgit 1.4.1-3-g733a5