Skip to content

Commit 86cf248

Browse files
committed
Add deriving_eq to Cell.
1 parent 2ebb674 commit 86cf248

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/cell.rs

Lines changed: 1 addition & 0 deletions
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)