From 6cc38e064b31f9179027b7f6c089088f1e6c8d09 Mon Sep 17 00:00:00 2001 From: teor Date: Sat, 21 Jan 2023 00:11:32 +1000 Subject: [PATCH] Inline a format variable (#6007) --- zebra-utils/src/bin/block-template-to-proposal/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/zebra-utils/src/bin/block-template-to-proposal/main.rs b/zebra-utils/src/bin/block-template-to-proposal/main.rs index 54c7f6e1..8cc22cb0 100644 --- a/zebra-utils/src/bin/block-template-to-proposal/main.rs +++ b/zebra-utils/src/bin/block-template-to-proposal/main.rs @@ -86,10 +86,7 @@ fn main() -> Result<()> { template_obj.entry("maxtime").or_insert_with(|| { if time_source.uses_max_time() { - eprintln!( - "maxtime field is missing, using curtime for maxtime: {:?}", - current_time, - ); + eprintln!("maxtime field is missing, using curtime for maxtime: {current_time:?}"); } current_time.timestamp().into()