1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

chore: address clippy lints

This commit is contained in:
Rob Ede
2025-05-09 20:21:02 +01:00
parent ad73cdc823
commit 7eea3d3657
10 changed files with 21 additions and 32 deletions

View File

@ -31,7 +31,7 @@ async fn main() -> io::Result<()> {
actix_rt::time::sleep(Duration::from_secs(1)).await;
yield Err(io::Error::new(io::ErrorKind::Other, "abc"));
yield Err(io::Error::other("abc"));
})))
})
.tcp()