src/backend/render.rs: formatting

This commit is contained in:
2026-05-07 00:49:58 +00:00
parent 4fe0f35c9e
commit faef0b0c86

View File

@@ -131,9 +131,7 @@ impl Page {
}
/// Render a page to a Write-able stream
pub fn render<W: Write>(
&self, mut dest: W
) -> Result<(), Box<dyn Error>> {
pub fn render<W: Write>(&self, mut dest: W) -> Result<(), Box<dyn Error>> {
/* TODO: replace ./assets/ with the actual templates directory,
* i.e. /usr/local/share/mintee/ */
let tera = Tera::new("./assets/templates/**/*")?;