Remove unused function
This commit is contained in:
parent
054a620664
commit
60d9c9b0a2
1 changed files with 0 additions and 4 deletions
|
|
@ -370,10 +370,6 @@ async fn page_not_found() -> Result<(StatusCode, Html<String>), Error> {
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn error() -> Error {
|
|
||||||
Error::InternalError
|
|
||||||
}
|
|
||||||
|
|
||||||
pub static TEMPLATES: Lazy<Tera> =
|
pub static TEMPLATES: Lazy<Tera> =
|
||||||
Lazy::new(|| Tera::new("templates/*.html").expect("Could not generate templates"));
|
Lazy::new(|| Tera::new("templates/*.html").expect("Could not generate templates"));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue