Clippy fix

This commit is contained in:
microproofs 2024-12-07 12:27:35 +07:00
parent 17fdbd356a
commit 4d7a24234b
No known key found for this signature in database
GPG Key ID: 14F93C84DE6AFD17
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ use super::{value::integer_log2, Error, Value};
use crate::builtins::DefaultFunction; use crate::builtins::DefaultFunction;
use num_traits::Signed; use num_traits::Signed;
use pallas_primitives::conway::Language; use pallas_primitives::conway::Language;
use std::{collections::HashMap, i64}; use std::collections::HashMap;
macro_rules! hashmap { macro_rules! hashmap {
// map-like // map-like

View File

@ -1711,7 +1711,7 @@ impl DefaultFunction {
let first_bit = let first_bit =
bytes bytes
.into_iter() .iter()
.rev() .rev()
.enumerate() .enumerate()
.find_map(|(byte_index, value)| { .find_map(|(byte_index, value)| {