From b2820ea2981f46cb730727efd00cfbbd6b12a8f8 Mon Sep 17 00:00:00 2001 From: Joshy Orndorff Date: Tue, 10 Oct 2023 21:32:48 -0400 Subject: [PATCH] cargo fmt --- tuxedo-core/src/inherents.rs | 2 +- wardrobe/timestamp/src/lib.rs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tuxedo-core/src/inherents.rs b/tuxedo-core/src/inherents.rs index f4f0fb390..4722dc240 100644 --- a/tuxedo-core/src/inherents.rs +++ b/tuxedo-core/src/inherents.rs @@ -171,7 +171,7 @@ impl, T: TuxedoInherent + 'static> In } let previous_inherent = previous_inherents.get(0).cloned(); - + vec![>::create_inherent( authoring_inherent_data, previous_inherent, diff --git a/wardrobe/timestamp/src/lib.rs b/wardrobe/timestamp/src/lib.rs index 62798bdeb..863621ac2 100644 --- a/wardrobe/timestamp/src/lib.rs +++ b/wardrobe/timestamp/src/lib.rs @@ -337,9 +337,7 @@ impl, T: TimestampConfig + 'static> TuxedoInheren let on_chain_timestamp = inherent .outputs .iter() - .find_map(|output| { - output.payload.extract::().ok().map(|o| o.0) - }) + .find_map(|output| output.payload.extract::().ok().map(|o| o.0)) .expect( "SetTimestamp extrinsic should have an output that decodes as a StorableTimestamp.", );