Skip to content

Commit

Permalink
Fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtiomTr committed Oct 1, 2023
1 parent 81c7f4d commit d9baecf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blst/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use crate::consts::{G1_GENERATOR, G2_GENERATOR};
use crate::types::fr::FsFr;
use crate::types::g1::FsG1;
use crate::types::g2::FsG2;
use alloc::string::String;

pub fn log_2_byte(b: u8) -> usize {
let mut r = u8::from(b > 0xF) << 2;
Expand Down

0 comments on commit d9baecf

Please sign in to comment.