From 66842c857635f7f35523bea87fc04700d68dfad7 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 5 May 2013 15:42:03 -0400 Subject: [PATCH] mark Cell as non-Const with #[mutable] --- src/libcore/cell.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs index 27e03d2bf31..30b56a28a58 100644 --- a/src/libcore/cell.rs +++ b/src/libcore/cell.rs @@ -19,6 +19,7 @@ A dynamic, mutable location. Similar to a mutable option type, but friendlier. */ +#[mutable] pub struct Cell { priv value: Option }