@@ -15,17 +15,10 @@ impl<'who> Render for Hello<'who> {
16 'a: 'bump,
16 'a: 'bump,
18− Node::element(
18+ use dodrio::builder::*;
20− // The element's tag name. In this case a `<p>` element.
22− // Event listeners. Empty in this case.
24− // Attributes. Again, empty in this case.
27− [Node::text("Hello, "), Node::text(self.who), Node::text("!")],
20+ .children([text("Hello, "), text(self.who), text("!")])