mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-01 09:33:26 +00:00
commit
e9a0db6abd
@ -15,6 +15,7 @@ use prelude::*;
|
||||
///
|
||||
/// Similar to a mutable option type, but friendlier.
|
||||
|
||||
#[deriving_eq]
|
||||
pub struct Cell<T> {
|
||||
mut value: Option<T>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user