Change `NodeExt::attrs` to return an `impl Iterator<Item=(String, String)>`
Currently we construct an iterator and then immediately .collect
it into a BTreeMap<String, String>
. We should remove this last step and let the user determine what they want to do with the iterator.
This is a breaking change, so it will require upping the minor version.
Edited by Paul Woolcock