mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-02 13:53:07 +00:00
Prevent some lints from being allowed (#1443)
This commit is contained in:
parent
6cf4df7da2
commit
f46cf4ef68
@ -5,6 +5,8 @@ use crate::cpu::kernel::interpreter::{
|
||||
};
|
||||
use crate::memory::segments::Segment::KernelGeneral;
|
||||
|
||||
type ConvertedBlakeInputs = (u32, [u64; 8], [u64; 16], u64, u64, bool);
|
||||
|
||||
fn reverse_bytes_u64(input: u64) -> u64 {
|
||||
let mut result = 0;
|
||||
for i in 0..8 {
|
||||
@ -13,7 +15,7 @@ fn reverse_bytes_u64(input: u64) -> u64 {
|
||||
result
|
||||
}
|
||||
|
||||
fn convert_input(input: &str) -> Result<(u32, [u64; 8], [u64; 16], u64, u64, bool)> {
|
||||
fn convert_input(input: &str) -> Result<ConvertedBlakeInputs> {
|
||||
let rounds = u32::from_str_radix(&input[..8], 16).unwrap();
|
||||
|
||||
let mut h = [0u64; 8];
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
#![allow(incomplete_features)]
|
||||
#![allow(clippy::needless_range_loop)]
|
||||
#![allow(clippy::too_many_arguments)]
|
||||
#![allow(clippy::type_complexity)]
|
||||
#![allow(clippy::field_reassign_with_default)]
|
||||
#![allow(unused)]
|
||||
#![feature(let_chains)]
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
#![allow(clippy::upper_case_acronyms)]
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::str::FromStr;
|
||||
use std::time::Duration;
|
||||
|
||||
@ -1,6 +1,3 @@
|
||||
#![allow(clippy::new_without_default)]
|
||||
#![allow(clippy::too_many_arguments)]
|
||||
#![allow(clippy::type_complexity)]
|
||||
#![allow(clippy::needless_range_loop)]
|
||||
#![no_std]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user