about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-07 01:27:38 -0700
committerbors <bors@rust-lang.org>2013-05-07 01:27:38 -0700
commitbdb52e58b43736b1351fa20a2b3dcff619a5fd09 (patch)
tree6873690a04e9827ccc9d6f4ad31ca5a3891da369 /src/libcore
parent7b2020f2c3f51de0dd4dcfe4a107673eda6f25e7 (diff)
parente7f6c4c75406c3ecd117d7213e1be3438454b47e (diff)
auto merge of #6251 : thestinger/rust/non_owned, r=pcwalton
Also fixed the docstring on `TC_ONCE_CLOSURE` (was accidentally the same as `TC_MUTABLE`) and shifted the `TC_EMPTY_ENUM` bit left by one since whatever previously used that bit has been removed.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/cell.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs
index 959defeec04..c7f9e377571 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>
 }