mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-10 02:26:42 -07:00
fix unused warnings when building without default features
This commit is contained in:
parent
f53cd56c39
commit
f4a2708794
3 changed files with 13 additions and 14 deletions
|
@ -65,7 +65,7 @@ impl SiteBuilder {
|
|||
|
||||
let mut tera = Tera::new(
|
||||
site.site_path
|
||||
.join("templates/**/*.tera")
|
||||
.join(format!("{}/**/*.tera", crate::TEMPLATES_PATH))
|
||||
.to_str()
|
||||
.expect("failed to convert path to string"),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue