Fill out missing doc comment
commit2cab2b99ed1cf9b178f6854b33586bbb7045c400
authorNick Fitzgerald <fitzgen@gmail.com>
dateTue 12 Feb 2019, 06:27 (8 years ago)
parent46d0ccc
src/vdom.rs+3−1
@@ -515,7 +515,9 @@ impl VdomWeak {
515515 }
516516 }
517517
518− /// TODO
518+ /// Replace the root rendering component with the new `root`.
519+ ///
520+ /// Returns a future that resolves to the *old* root component.
519521 pub fn set_component(
520522 self,
521523 root: Box<dyn RootRender>,