From e33d1e6cd7c171979389f05611a878683edcab9f Mon Sep 17 00:00:00 2001 From: phoenix Date: Sat, 28 Jun 2025 17:01:18 -0400 Subject: [PATCH] Warning fixes --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index f243265..e705e73 100644 --- a/src/main.rs +++ b/src/main.rs @@ -86,12 +86,11 @@ async fn some_work( Ok(_inner_response) => { Ok(()) } - Err(err) => Err(std::io::Error::new(std::io::ErrorKind::Other, + Err(err) => Err(std::io::Error::other( err.to_string())) } } - Err(err) => Err(std::io::Error::new( - std::io::ErrorKind::Other, + Err(err) => Err(std::io::Error::other( err.to_string(), )), }