about summary refs log tree commit diff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2709022..9d4335a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -31,15 +31,6 @@ pub mod util {
             })
     }
 
-    pub fn template<R>(
-        template: R
-    ) -> impl warp::Reply
-    where
-        R: markup::Render + std::fmt::Display
-    {
-        warp::reply::html(template.to_string())
-    }
-
     pub fn parse_accept() -> impl Filter<Extract = (http_types::Mime,), Error = warp::Rejection> + Copy {
         warp::header::value("Accept").and_then(|accept: warp::http::HeaderValue| async move {
             let mut accept: http_types::content::Accept = {