diff options
| author | Josh Matthews <josh@joshmatthews.net> | 2013-03-11 15:21:00 -0400 |
|---|---|---|
| committer | Josh Matthews <josh@joshmatthews.net> | 2013-03-11 15:23:45 -0400 |
| commit | 86cf2482624b89150615313662d2e823cdcaa31d (patch) | |
| tree | f259e17342387a8d5205d97c82f008776b1b2d42 | |
| parent | 2ebb67487c1530822d83d6da6f71fa62cb68f2cd (diff) | |
| download | rust-86cf2482624b89150615313662d2e823cdcaa31d.tar.gz rust-86cf2482624b89150615313662d2e823cdcaa31d.zip | |
Add deriving_eq to Cell.
| -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 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> } |
