stdweb
stdweb copied to clipboard
Array -> Vec conversion for array references
Right now there's an implementation
impl<E: Into<ConversionError>, V: TryFrom<Value, Error = E>> TryFrom<Array> for Vec<V>
Unlike most of the other conversions, this unconditionally requires an owned Array. Could TryFrom<&'a Array> also be implemented for Vec?
I'd be happy to submit a PR if this would be OK to add. Just making an issue first to check and document.
For reference, I'm checking https://docs.rs/stdweb/0.4.8/stdweb/struct.Array.html.
Yes that would be perfectly fine!