From a324893d9a17eaabf02ddc55cf1e5d1853bf6e2d Mon Sep 17 00:00:00 2001 From: Dave Huseby Date: Tue, 27 Aug 2024 20:01:19 -0600 Subject: [PATCH] clippy fixes Signed-off-by: Dave Huseby --- src/lib.rs | 2 +- src/views/bls12381.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f418cf4..b448331 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ // SPDX-License-Idnetifier: Apache-2.0 -//! +//! multisig #![warn(missing_docs)] #![deny( trivial_casts, diff --git a/src/views/bls12381.rs b/src/views/bls12381.rs index 29364de..2dd643c 100644 --- a/src/views/bls12381.rs +++ b/src/views/bls12381.rs @@ -13,13 +13,13 @@ use multiutil::{Varbytes, Varuint}; use std::{collections::BTreeMap, fmt}; /// the name used to identify these signatures in non-Multikey formats -pub const ALGORITHM_NAME_G1: &'static str = "bls12_381-g1@multisig"; +pub const ALGORITHM_NAME_G1: &str = "bls12_381-g1@multisig"; /// the name used to identify these signatures in non-Multikey formats -pub const ALGORITHM_NAME_G1_SHARE: &'static str = "bls12_381-g1-share@multisig"; +pub const ALGORITHM_NAME_G1_SHARE: &str = "bls12_381-g1-share@multisig"; /// the name used to identify these signatures in non-Multikey formats -pub const ALGORITHM_NAME_G2: &'static str = "bls12_381-g2@multisig"; +pub const ALGORITHM_NAME_G2: &str = "bls12_381-g2@multisig"; /// the name used to identify these signatures in non-Multikey formats -pub const ALGORITHM_NAME_G2_SHARE: &'static str = "bls12_381-g2-share@multisig"; +pub const ALGORITHM_NAME_G2_SHARE: &str = "bls12_381-g2-share@multisig"; /// The different signature scheme methods offered in the blsful BLS crate #[repr(u8)]