From 7287e6e896683c8a2f21e497d45aa432353e54cc Mon Sep 17 00:00:00 2001 From: Luke Chu <37006668+lukechu10@users.noreply.github.com> Date: Tue, 8 Jun 2021 21:20:59 -0700 Subject: [PATCH] Fix docs for SsrNode --- packages/sycamore/src/generic_node/ssr_node.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/sycamore/src/generic_node/ssr_node.rs b/packages/sycamore/src/generic_node/ssr_node.rs index d73ddaf2f..ccc5c8533 100644 --- a/packages/sycamore/src/generic_node/ssr_node.rs +++ b/packages/sycamore/src/generic_node/ssr_node.rs @@ -17,9 +17,7 @@ static VOID_ELEMENTS: &[&str] = &[ "track", "wbr", "command", "keygen", "menuitem", ]; -/// Rendering backend for Server Side Rendering, aka. SSR. -/// -/// _This API requires the following crate features to be activated: `ssr`_ +/// Inner representation for [`SsrNode`]. #[derive(Debug)] enum SsrNodeType { Element(RefCell), @@ -34,6 +32,9 @@ struct SsrNodeInner { parent: RefCell>, } +/// Rendering backend for Server Side Rendering, aka. SSR. +/// +/// _This API requires the following crate features to be activated: `ssr`_ #[derive(Debug, Clone)] pub struct SsrNode(Rc);