tide_jsx/
html.rs

1use crate::Render;
2use std::fmt::{Result, Write};
3
4#[derive(Debug)]
5pub struct HTML5Doctype;
6
7impl Render for HTML5Doctype {
8    fn render_into<W: Write>(self, writer: &mut W) -> Result {
9        write!(writer, "<!DOCTYPE html>")
10    }
11}