diff --git a/actix-files/src/named.rs b/actix-files/src/named.rs index 52abb12f4..57a620f0b 100644 --- a/actix-files/src/named.rs +++ b/actix-files/src/named.rs @@ -14,7 +14,7 @@ use actix_web::{ http::{ header::{ self, Charset, ContentDisposition, ContentEncoding, DispositionParam, DispositionType, - ExtendedValue, HeaderValue, + ExtendedValue, }, StatusCode, }, diff --git a/actix-files/tests/encoding.rs b/actix-files/tests/encoding.rs index aee409478..2fc36db97 100644 --- a/actix-files/tests/encoding.rs +++ b/actix-files/tests/encoding.rs @@ -1,11 +1,11 @@ -use actix_files::{Files, NamedFile}; +use actix_files::Files; use actix_web::{ http::{ header::{self, HeaderValue}, StatusCode, }, test::{self, TestRequest}, - web, App, + App, }; #[actix_web::test]