Function sauron::comment

source ·
pub fn comment<MSG>(s: impl Into<Cow<'static, str>>) -> Node<MSG>
Expand description

create a comment node

§Example

use sauron::*;
let node: Node<()> = comment("This is a comment");