Help required for compiling program


#1

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


#2

You’re trying to take from an &Option<V>. You need to use as_mut() in the previous line.