diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2025-03-07 02:21:16 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2025-03-07 02:21:16 +0000 |
commit | 1aa49ab2f008099a3de380a7e146a97dedb9873d (patch) | |
tree | eefe8d8261ffa92ff08e0b3d6fc5f9649d502fa9 /src/errors.rs | |
parent | Add CHANGELOG entry for healthcheck route (diff) | |
download | miniserve-1aa49ab2f008099a3de380a7e146a97dedb9873d.tar.gz miniserve-1aa49ab2f008099a3de380a7e146a97dedb9873d.zip |
Upgrade to Rust 2024 edition
Diffstat (limited to '')
-rw-r--r-- | src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs index b7d75f2..f1e5b2d 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -125,7 +125,7 @@ impl ResponseError for RuntimeError { pub fn error_page_middleware<S, B>( req: ServiceRequest, srv: &S, -) -> impl Future<Output = actix_web::Result<ServiceResponse>> + 'static +) -> impl Future<Output = actix_web::Result<ServiceResponse>> + 'static + use<S, B> where S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = actix_web::Error>, B: MessageBody + 'static, |