From c036b7c7c584cfb13cbee31a13060295d39aa7c9 Mon Sep 17 00:00:00 2001 From: Bodil Stokke Date: Sat, 17 Nov 2018 23:06:48 +0000 Subject: [PATCH] Fix doc typo. --- typed-html/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/typed-html/src/lib.rs b/typed-html/src/lib.rs index 42145fd..37f10a0 100644 --- a/typed-html/src/lib.rs +++ b/typed-html/src/lib.rs @@ -169,7 +169,7 @@ //! ## Render to a virtual DOM //! //! The DOM tree structure also implements a method called `vnode()`, which renders -//! the tree to a tree of [`Node`][Node]s, which is a mirror of the generated tree +//! the tree to a tree of [`VNode`][VNode]s, which is a mirror of the generated tree //! with every attribute value rendered into `String`s. You can walk this virtual //! DOM tree and use it to build an actual DOM tree with `stdweb` or pass it on to //! your favourite virtual DOM system. @@ -193,6 +193,7 @@ //! [String]: https://doc.rust-lang.org/std/string/struct.String.html //! [to_string]: https://doc.rust-lang.org/std/string/trait.ToString.html#tymethod.to_string //! [Node]: dom/trait.Node.html +//! [VNode]: dom/enum.VNode.html //! [FromStr]: https://doc.rust-lang.org/std/str/trait.FromStr.html //! [SpacedSet]: types/struct.SpacedSet.html //! [IntoIterator]: https://doc.rust-lang.org/std/iter/trait.IntoIterator.html