1
0
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:
Yuki Okushi
2019-09-05 00:04:57 +09:00
committed by GitHub
parent bb639d5fe3
commit f232b6c684
18 changed files with 41 additions and 46 deletions

View File

@ -132,7 +132,7 @@ fn main() -> io::Result<()> {
.route(
web::route()
.guard(guard::Not(guard::Get()))
.to(|| HttpResponse::MethodNotAllowed()),
.to(HttpResponse::MethodNotAllowed),
),
)
})