1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 18:37:41 +02:00

update to aw beta 9

This commit is contained in:
Rob Ede
2021-11-22 23:11:58 +00:00
parent 07deaadd7b
commit 13f8dcb717
7 changed files with 13 additions and 20 deletions

View File

@ -57,7 +57,6 @@ where
/// Construct `HttpAuthentication` middleware for the HTTP "Basic" authentication scheme.
///
/// # Example
///
/// ```
/// # use actix_web::Error;
/// # use actix_web::dev::ServiceRequest;
@ -89,7 +88,6 @@ where
/// Construct `HttpAuthentication` middleware for the HTTP "Bearer" authentication scheme.
///
/// # Example
///
/// ```
/// # use actix_web::Error;
/// # use actix_web::dev::ServiceRequest;
@ -187,7 +185,7 @@ where
service
.call(req)
.await
.map(|res| res.map_body(|_, body| AnyBody::from_message(body)))
.map(|res| res.map_body(|_, body| AnyBody::new_boxed(body)))
}
.boxed_local()
}