mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 08:57:00 +02:00
Expose factory traits and some clippy fixes (#983)
This commit is contained in:
committed by
Nikolay Kim
parent
c01611d8b5
commit
32718b7e31
@@ -298,6 +298,7 @@ where
|
||||
U: DeserializeOwned + 'static,
|
||||
{
|
||||
/// Create `JsonBody` for request.
|
||||
#[allow(clippy::borrow_interior_mutable_const)]
|
||||
pub fn new(
|
||||
req: &HttpRequest,
|
||||
payload: &mut Payload,
|
||||
|
Reference in New Issue
Block a user