Closed mystor closed 8 years ago
Makes sense. Thank you!
Just curious, are you using this library for any project?
I'm not personally using select.rs for a project, but one of my co-workers was learning rust, and asked me for info as to why the nodes returned from the iterator couldn't outlive the selection, so I wrote up a patch such that they could ^.^. I believe that they are using it for a project.
The Nodes should be able to live as long as their Document object, but are having their lifetimes limited such that they can only live as long as their Selection object.