about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-11 13:15:52 -0700
committerbors <bors@rust-lang.org>2013-03-11 13:15:52 -0700
commite9a0db6abd40913f3b366a62ebf0f59adac57bb6 (patch)
treedce6f4789473f81156782b92d168a07d4be8f111
parentce24ebb8589cb6533359b0e398e6da88e9c228ef (diff)
parent86cf2482624b89150615313662d2e823cdcaa31d (diff)
downloadrust-e9a0db6abd40913f3b366a62ebf0f59adac57bb6.tar.gz
rust-e9a0db6abd40913f3b366a62ebf0f59adac57bb6.zip
auto merge of #5318 : jdm/rust/deriving_cell, r=pcwalton
r? @pcwalton
-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 91a4ded60ef..da247c648fc 100644
--- a/src/libcore/cell.rs
+++ b/src/libcore/cell.rs
@@ -15,6 +15,7 @@ use prelude::*;
 ///
 /// Similar to a mutable option type, but friendlier.
 
+#[deriving_eq]
 pub struct Cell<T> {
     mut value: Option<T>
 }