From 60d9c9b0a25cbcbd3a6ed680902dc70ced6ae413 Mon Sep 17 00:00:00 2001 From: traxys Date: Tue, 15 Aug 2023 22:50:57 +0200 Subject: [PATCH] Remove unused function --- src/main.rs | 4 ---- 1 file changed, 4 deletions(-) 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"));