Skip to content

Commit 14f4b34

Browse files
Clean up unused imports
1 parent 967f57a commit 14f4b34

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ use std::{
1212

1313
use askama::Template;
1414
use axum::{
15-
extract::{Path, Query, Request, State},
15+
extract::{Path, Query, State},
1616
handler::Handler,
1717
http::{
1818
header::{CACHE_CONTROL, CONTENT_SECURITY_POLICY, CONTENT_TYPE},
1919
HeaderName, HeaderValue, StatusCode,
2020
},
21-
middleware::Next,
2221
response::{IntoResponse, Redirect, Response},
2322
routing::get,
2423
Router,
@@ -33,7 +32,7 @@ use tokio::net::TcpListener;
3332
use tower::ServiceBuilder;
3433
use tower_http::{
3534
services::ServeDir,
36-
set_header::{SetResponseHeader, SetResponseHeaderLayer},
35+
set_header::{SetResponseHeaderLayer},
3736
};
3837
use tracing::Level;
3938

0 commit comments

Comments
 (0)