Closed neilyoung closed 3 years ago
Closing as dup.
Thanks. This unfortunately gives
Anyway, don't bother. I will find alternatives Thanks
Maybe a combination with lazy_static works, not sure...
lazy_static! {
pub static ref CONFIG: Storage<RwLock
Ah, this is a valid issue; the library should be upgraded. Will take care of it.
You mean you have a solution for the stable channel? This would be awesome....
@neilyoung Yes.
Hi, I'm trying to follow the example code here https://docs.rs/state/0.4.1/state/
The compiler complains
Code:
What am I missing?