Move the clippy attribute on the problematic part of the code

This commit is contained in:
Clément Renault 2023-11-28 14:37:58 +01:00
parent ec9b52d608
commit 5b563f872b
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -1,5 +1,3 @@
#![allow(clippy::redundant_closure_call)]
use actix_web::web::Data;
use actix_web::{web, HttpRequest, HttpResponse};
use deserr::actix_web::AwebJson;
@ -80,6 +78,7 @@ macro_rules! make_setting_route {
let body = body.into_inner();
#[allow(clippy::redundant_closure_call)]
$analytics(&body, &req);
let new_settings = Settings {