From dc67379ead3916a9e77bd768f68dc280ec7d9c2d Mon Sep 17 00:00:00 2001 From: Patrick McClurg Date: Thu, 31 Aug 2023 19:31:06 +0200 Subject: [PATCH] fixed more string formatting --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 41b91de..9e2f18b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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}")) } }