rust-scraper / ego-tree

Vec-backed ID-tree
https://docs.rs/ego-tree
ISC License
45 stars 16 forks source link

What about tree() method? #9

Closed RazrFalcon closed 6 years ago

RazrFalcon commented 6 years ago

It will be useful if NodeRef and NodeMut will be able to return an underling tree (as a reference). So there will be no need to pass tree itself and a node.

causal-agent commented 6 years ago

Yeah I don't think there's any reason not to.

RazrFalcon commented 6 years ago

Should I make a pull request?

causal-agent commented 6 years ago

Sure.