Add deriving_eq to Cell.

This commit is contained in:
Josh Matthews 2013-03-11 15:21:00 -04:00
parent 2ebb67487c
commit 86cf248262

View File

@ -15,6 +15,7 @@ use prelude::*;
///
/// Similar to a mutable option type, but friendlier.
#[deriving_eq]
pub struct Cell<T> {
mut value: Option<T>
}