Skip to content

Commit

Permalink
fixed more string formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CluEleSsUK committed Aug 31, 2023
1 parent e17ae06 commit dc67379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl<'a, T: Transport> DrandClient<'a, T> {
if round_number == 0 {
Err(InvalidRound)
} else {
self.fetch_beacon_tag(&format!("{}", round_number))
self.fetch_beacon_tag(&format!("{round_number}"))
}
}

Expand Down

0 comments on commit dc67379

Please sign in to comment.