mark Cell as non-Const with #[mutable]
This commit is contained in:
parent
58c0df2af6
commit
66842c8576
@ -19,6 +19,7 @@
|
||||
Similar to a mutable option type, but friendlier.
|
||||
*/
|
||||
|
||||
#[mutable]
|
||||
pub struct Cell<T> {
|
||||
priv value: Option<T>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user