Code formatting
All checks were successful
Rust Build / Check (pull_request) Successful in 35s
Rust Build / Test Suite (pull_request) Successful in 36s
Rust Build / Rustfmt (pull_request) Successful in 27s
Rust Build / Clippy (pull_request) Successful in 36s
Rust Build / build (pull_request) Successful in 43s
All checks were successful
Rust Build / Check (pull_request) Successful in 35s
Rust Build / Test Suite (pull_request) Successful in 36s
Rust Build / Rustfmt (pull_request) Successful in 27s
Rust Build / Clippy (pull_request) Successful in 36s
Rust Build / build (pull_request) Successful in 43s
This commit is contained in:
16
src/main.rs
16
src/main.rs
@@ -81,17 +81,15 @@ async fn some_work(
|
|||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
Ok(response) => {
|
Ok(response) => {
|
||||||
match response.json::<update_queued_song::response::Response>().await {
|
match response
|
||||||
Ok(_inner_response) => {
|
.json::<update_queued_song::response::Response>()
|
||||||
Ok(())
|
.await
|
||||||
}
|
{
|
||||||
Err(err) => Err(std::io::Error::other(
|
Ok(_inner_response) => Ok(()),
|
||||||
err.to_string()))
|
Err(err) => Err(std::io::Error::other(err.to_string())),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(err) => Err(std::io::Error::other(
|
Err(err) => Err(std::io::Error::other(err.to_string())),
|
||||||
err.to_string(),
|
|
||||||
)),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
|
Reference in New Issue
Block a user