Skip to content

Commit

Permalink
fix clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse committed Oct 8, 2023
1 parent a1b6c43 commit 890be46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ async fn get() -> Result<Vec<BattlebitServer>> {
}
match serde_json::from_str::<Vec<BattlebitServer>>(&json_string) {
Ok(json_res) => {
return Ok(json_res);
Ok(json_res)
}
Err(e) => {
anyhow::bail!("BattleBit public json is incorrect: {:#?}", e)
Expand Down

0 comments on commit 890be46

Please sign in to comment.