mirror of
https://github.com/fafhrd91/actix-web
synced 2025-09-01 01:16:59 +02:00
nightly clippy warnings
This commit is contained in:
@@ -128,7 +128,7 @@ impl FromRequest for Bytes {
|
||||
|
||||
#[inline]
|
||||
fn from_request(req: &HttpRequest, payload: &mut dev::Payload) -> Self::Future {
|
||||
let mut tmp;
|
||||
let tmp;
|
||||
let cfg = if let Some(cfg) = req.app_data::<PayloadConfig>() {
|
||||
cfg
|
||||
} else {
|
||||
@@ -184,7 +184,7 @@ impl FromRequest for String {
|
||||
|
||||
#[inline]
|
||||
fn from_request(req: &HttpRequest, payload: &mut dev::Payload) -> Self::Future {
|
||||
let mut tmp;
|
||||
let tmp;
|
||||
let cfg = if let Some(cfg) = req.app_data::<PayloadConfig>() {
|
||||
cfg
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user