add compiler warning

This commit is contained in:
2025-08-03 10:55:53 +02:00
parent 2affa210e1
commit aeab624ce3

View File

@@ -4,6 +4,7 @@ use maud::{html, Markup, DOCTYPE};
// TODO: set dynamic meta lang attribute
// TODO: remove function
#[deprecated]
pub fn new(content: Markup, lang: Language) -> Markup {
let page = Page::new(lang);
page.content(content)