diff --git a/src/main.rs b/src/main.rs index db21eb0..f86077c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -370,10 +370,6 @@ async fn page_not_found() -> Result<(StatusCode, Html), Error> { )) } -async fn error() -> Error { - Error::InternalError -} - pub static TEMPLATES: Lazy = Lazy::new(|| Tera::new("templates/*.html").expect("Could not generate templates"));