From 0c5015e68fe8814aaf5996a08cad569248e45995 Mon Sep 17 00:00:00 2001 From: Bogdan Opanchuk Date: Mon, 10 Oct 2022 00:43:43 -0700 Subject: [PATCH] remove an unneeded `as` --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 2974caee..9fc1191d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -122,7 +122,7 @@ fn sign(cli: SignCli) -> anyhow::Result<()> { let mut sign_parties = SignParties::with_max_size(party_share_counts.party_count()); for i in &cli.parties { sign_parties - .add(TypedUsize::from_usize(*i as usize)) + .add(TypedUsize::from_usize(*i)) .unwrap(); } sign_parties