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:
@ -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)]
|
||||
|
Reference in New Issue
Block a user