mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
Fix clippy warnings (#168)
This commit is contained in:
@ -132,7 +132,7 @@ fn main() -> io::Result<()> {
|
||||
.route(
|
||||
web::route()
|
||||
.guard(guard::Not(guard::Get()))
|
||||
.to(|| HttpResponse::MethodNotAllowed()),
|
||||
.to(HttpResponse::MethodNotAllowed),
|
||||
),
|
||||
)
|
||||
})
|
||||
|
Reference in New Issue
Block a user