From 792ba9cba3d5c7e59f74a682696ce49fecdb4215 Mon Sep 17 00:00:00 2001 From: amtoine <stevan.antoine@gmail.com> Date: Mon, 3 Apr 2023 13:01:06 +0200 Subject: [PATCH] format the code with `cargo fmt --all` This should make the `format` job happy. > see https://gitlab.isae-supaero.fr/a.stevan/poly-commit/-/jobs/8238 --- src/kzg10/mod.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/kzg10/mod.rs b/src/kzg10/mod.rs index d1e35d3..f54e61d 100644 --- a/src/kzg10/mod.rs +++ b/src/kzg10/mod.rs @@ -422,10 +422,7 @@ where } } - pub fn check_hiding_bound( - hiding_poly_degree: usize, - num_powers: usize, - ) -> Result<(), Error> { + pub fn check_hiding_bound(hiding_poly_degree: usize, num_powers: usize) -> Result<(), Error> { if hiding_poly_degree == 0 { Err(Error::HidingBoundIsZero) } else if hiding_poly_degree >= num_powers { -- GitLab