src/backend/render.rs: updates to not be stupid

This commit is contained in:
2026-05-07 00:49:09 +00:00
parent 079cfc7a64
commit 4fe0f35c9e
2 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@
use std::{
error::Error,
fmt::{ self, Display, Formatter },
io::{ BufWriter, Write },
io::Write,
path::PathBuf,
};
@@ -132,7 +132,7 @@ impl Page {
/// Render a page to a Write-able stream
pub fn render<W: Write>(
&self, dest: &mut BufWriter<W>
&self, mut dest: W
) -> Result<(), Box<dyn Error>> {
/* TODO: replace ./assets/ with the actual templates directory,
* i.e. /usr/local/share/mintee/ */