Warning fixes

This commit is contained in:
2025-06-28 17:01:18 -04:00
parent 6e3d4a76ef
commit e33d1e6cd7

View File

@@ -86,12 +86,11 @@ async fn some_work(
Ok(_inner_response) => { Ok(_inner_response) => {
Ok(()) Ok(())
} }
Err(err) => Err(std::io::Error::new(std::io::ErrorKind::Other, Err(err) => Err(std::io::Error::other(
err.to_string())) err.to_string()))
} }
} }
Err(err) => Err(std::io::Error::new( Err(err) => Err(std::io::Error::other(
std::io::ErrorKind::Other,
err.to_string(), err.to_string(),
)), )),
} }