mirror of https://github.com/fafhrd91/actix-web
fix lint
This commit is contained in:
parent
769fd8308b
commit
2720bafa88
|
@ -329,9 +329,7 @@ mod tests {
|
||||||
Ok::<_, Error>(HttpResponse::BadRequest())
|
Ok::<_, Error>(HttpResponse::BadRequest())
|
||||||
})))
|
})))
|
||||||
.service(web::resource("/").route(web::to(|| async {
|
.service(web::resource("/").route(web::to(|| async {
|
||||||
Ok::<_, Error>(
|
Ok::<_, Error>(HttpResponse::Found().finish())
|
||||||
HttpResponse::Found().finish(),
|
|
||||||
)
|
|
||||||
})))
|
})))
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue