fix: clippy warnings (#280)

This commit is contained in:
Augusto Hack
2024-02-22 05:55:02 +01:00
committed by GitHub
parent 24f72c986b
commit dbab0e9aa9
51 changed files with 197 additions and 163 deletions

View File

@@ -1,6 +1,7 @@
//! Pseudo-random element generation.
pub use winter_crypto::{DefaultRandomCoin as WinterRandomCoin, RandomCoin, RandomCoinError};
pub use winter_utils::Randomizable;
use crate::{Felt, FieldElement, Word, ZERO};

View File

@@ -1,12 +1,11 @@
use super::{Felt, FeltRng, FieldElement, Word, ZERO};
use super::{Felt, FeltRng, FieldElement, RandomCoin, RandomCoinError, Word, ZERO};
use crate::{
hash::rpo::{Rpo256, RpoDigest},
utils::{
collections::Vec, string::ToString, vec, ByteReader, ByteWriter, Deserializable,
collections::*, string::*, vec, ByteReader, ByteWriter, Deserializable,
DeserializationError, Serializable,
},
};
pub use winter_crypto::{RandomCoin, RandomCoinError};
// CONSTANTS
// ================================================================================================