From f5ef92f0dc2f4ae60f76d503c5ba938677631a49 Mon Sep 17 00:00:00 2001 From: nemo Date: Mon, 25 Oct 2021 14:53:28 -0400 Subject: [PATCH] style: rust fmt --- filecoin-proofs/src/api/window_post.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/filecoin-proofs/src/api/window_post.rs b/filecoin-proofs/src/api/window_post.rs index 0efa14a407..0d4c769df5 100644 --- a/filecoin-proofs/src/api/window_post.rs +++ b/filecoin-proofs/src/api/window_post.rs @@ -267,7 +267,10 @@ pub fn generate_single_window_post_with_vanilla let vanilla_params = window_post_setup_params(&post_config); let partitions = get_partitions_for_window_post(vanilla_proofs.len(), &post_config); - ensure!(partition_index < partitions.unwrap_or(1), "Invalid partition index specified"); + ensure!( + partition_index < partitions.unwrap_or(1), + "Invalid partition index specified" + ); let setup_params = compound_proof::SetupParams { vanilla_params,