RazrFalcon / rctree

A "DOM-like" tree implemented using reference counting
MIT License
36 stars 10 forks source link

Implement `Debug` for `WeakNode` #8

Closed lo48576 closed 5 years ago

lo48576 commented 5 years ago

std::rc::Weak<T> have similar Debug impl (simply printing "(Weak)"). This impl would be convenient when #[derive(Debug)]-ing types which contain WeakNode.

RazrFalcon commented 5 years ago

Thanks.