Skip to content

Commit e9a0db6

Browse files
committed
auto merge of #5318 : jdm/rust/deriving_cell, r=pcwalton
r? @pcwalton
2 parents ce24ebb + 86cf248 commit e9a0db6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/cell.rs

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use prelude::*;
1515
///
1616
/// Similar to a mutable option type, but friendlier.
1717
18+
#[deriving_eq]
1819
pub struct Cell<T> {
1920
mut value: Option<T>
2021
}

0 commit comments

Comments
 (0)