diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-05-05 15:42:03 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-05-05 15:42:03 -0400 |
| commit | 66842c857635f7f35523bea87fc04700d68dfad7 (patch) | |
| tree | 4ad4768e3d5a569bb55f4f843395e97465eaeca7 /src | |
| parent | 58c0df2af6559f460e4dc58a45473f47d07b8431 (diff) | |
| download | rust-66842c857635f7f35523bea87fc04700d68dfad7.tar.gz rust-66842c857635f7f35523bea87fc04700d68dfad7.zip | |
mark Cell as non-Const with #[mutable]
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/cell.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<T> { priv value: Option<T> } |
