Warning fixes
This commit is contained in:
@@ -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(),
|
||||||
)),
|
)),
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user