Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Huseby <dwh@linuxprogrammer.org>
  • Loading branch information
dhuseby committed Aug 28, 2024
1 parent 6c0c495 commit a324893
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Idnetifier: Apache-2.0
//!
//! multisig
#![warn(missing_docs)]
#![deny(
trivial_casts,
Expand Down
8 changes: 4 additions & 4 deletions src/views/bls12381.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit a324893

Please sign in to comment.