1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-30 08:24:28 +02:00

clippy fixes (#2296)

This commit is contained in:
Rob Ede
2021-07-12 16:55:24 +01:00
committed by GitHub
parent 7ae132cb68
commit 5a14ffeef2
7 changed files with 23 additions and 13 deletions

View File

@ -23,7 +23,7 @@ impl std::fmt::Display for MyError {
#[get("/test")]
async fn test() -> Result<actix_web::HttpResponse, actix_web::error::Error> {
return Err(MyError.into());
Err(MyError.into())
}
#[derive(Clone)]