style: run clippy fix and fmt (#9965)

This commit is contained in:
Brooooooklyn
2025-02-05 13:48:17 +00:00
parent db1fcf42c9
commit 58aa18afa6
11 changed files with 54 additions and 27 deletions

View File

@@ -1,8 +1,7 @@
use std::hint::black_box;
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use affine_common::hashcash::Stamp;
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
fn bench_hashcash(c: &mut Criterion) {
let mut group = c.benchmark_group("hashcash");

View File

@@ -129,10 +129,11 @@ impl TryFrom<&str> for Stamp {
#[cfg(test)]
mod tests {
use super::Stamp;
use rand::{distributions::Alphanumeric, Rng};
use rayon::prelude::*;
use super::Stamp;
#[test]
fn test_mint() {
{