I am getting a compilation error on line 176
bucket.push(val.take().unwrap().take());
Any help to resolve this is appreciated
https://github.com/mmrath/rbuf/blob/master/src/collections/mod.rs
I am getting a compilation error on line 176
bucket.push(val.take().unwrap().take());
Any help to resolve this is appreciated
https://github.com/mmrath/rbuf/blob/master/src/collections/mod.rs
You're trying to take from an &Option<V>
. You need to use as_mut()
in the previous line.