mark Cell as non-Const with #[mutable]

This commit is contained in:
Daniel Micay 2013-05-05 15:42:03 -04:00
parent 58c0df2af6
commit 66842c8576

View File

@ -19,6 +19,7 @@ A dynamic, mutable location.
Similar to a mutable option type, but friendlier.
*/
#[mutable]
pub struct Cell<T> {
priv value: Option<T>
}