0.8.7
This is a patch release that includes two new utilities:
-
@imp implemented
DoubleEndedIterator
for all iterator types, so iterating over array entries or object members is now more powerful, and more closely maps to what is possible with regular vectors and maps. -
You can now
.take()
owned values out of a structure leaving a null in place, useful for avoiding cloning all over the place:let mut data = array!["Foo", 42]; let first = data[0].take(); let second = data[1].take(); assert!(first == "Foo"); assert!(second == 42); assert!(data[0].is_null()); assert!(data[1].is_null());