pub fn html(&mut self, html: impl Into<String>) {
        let _ = self
            .headers_mut()
            .insert(header::CONTENT_TYPE, HeaderValue::from_static("text/html"));

        self.set_body(html);
    }
// TODO: Change this into a builder closure, with string, file, and template functions.
/// Wrapper around Response.set_body for the HTML context type.
Change this into a builder closure, with string, file, and template functions.
Wrapper around Response.set_body for the HTML context type.
Change this into a builder closure with string file and template functions . Wrapper around Response . set_body for the HTML context type .
pub fn html(&mut self, html: impl Into<String>) {
        let _ = self
            .headers_mut()
            .insert(header::CONTENT_TYPE, HeaderValue::from_static("text/html"));
        self.set_body(html);
    }
pub fn html ( & mut self , html : impl Into < String > ) { let _ = self . headers_mut ( ) . insert ( header :: CONTENT_TYPE , HeaderValue :: from_static ( " " ) ) ; self . set_body ( html ) ; }
TODO: Change this into a builder closure, with string, file, and template functions.
TODO : Change this into a builder closure with string file and template functions .
&mut self
html
impl Into<String>
&mut self
html
impl Into<String>