Cursor wants an
AsRef<[u8]>, I have a
impl<T> AsRef<T> for Rc<T>. It seems like there should also be a impl AsRef for Rc<Vec>`.
With this, I can do:
let v = Rc::new(vec!()); let c = Cursor::new(v.clone());
Anything wrong with that?