From c966d4b88abac0408fb4da50dd29c68e2e06d9b5 Mon Sep 17 00:00:00 2001 From: Cecile Tonglet Date: Thu, 28 May 2020 14:46:25 +0200 Subject: [PATCH] CLEANUP Forked at: 49b15615184fad010749d3e34282f70a3845da34 Parent branch: origin/master --- client/informant/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/informant/src/lib.rs b/client/informant/src/lib.rs index 3c3daf559c382..65942ebf5ee3f 100644 --- a/client/informant/src/lib.rs +++ b/client/informant/src/lib.rs @@ -105,11 +105,11 @@ pub fn build(service: &impl AbstractService, format: OutputFormat) -> impl futur OutputFormat::Coloured { prefix } => info!( target: "substrate", "✨ {}Imported #{} ({})", - prefix, Colour::White.bold().paint(format!("{}", n.header.number())), n.hash, + prefix, Colour::White.bold().paint(n.header.number().to_string()), n.hash, ), OutputFormat::Plain { prefix } => info!( target: "substrate", "✨ {}Imported #{} ({})", - prefix, format!("{}", n.header.number()), n.hash, + prefix, n.header.number(), n.hash, ), }