diff options
Diffstat (limited to 'src/misc/mod.rs')
-rw-r--r-- | src/misc/mod.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/misc/mod.rs b/src/misc/mod.rs index 5942b8c..c2992cc 100644 --- a/src/misc/mod.rs +++ b/src/misc/mod.rs @@ -1,10 +1,9 @@ pub mod handlers { - use color_eyre::Result; - use warp::{Reply, Rejection, http::Response}; use crate::templates::{self, Html, RenderRucte}; + use color_eyre::Result; + use warp::{http::Response, Rejection, Reply}; pub async fn index() -> Result<impl Reply, Rejection> { - Response::builder() - .html(|o| templates::index_html(o)) + Response::builder().html(|o| templates::index_html(o)) } } |