chore: Fix rogue clippy warnings (#79)

This commit is contained in:
Santiago Carmuega 2022-03-18 16:12:50 -03:00 committed by GitHub
parent d942c73cfa
commit 0c765bea08

View file

@ -1,7 +1,5 @@
use std::fmt::Debug;
use net2::TcpStreamExt;
use pallas::ledger::primitives::{alonzo, byron, probing, Era, Fragment};
fn pretty_print(block: impl Debug) {
@ -17,7 +15,7 @@ fn main() {
include_str!("blocks/alonzo.block"),
];
for (idx, block_str) in blocks.iter().enumerate() {
for block_str in blocks.iter() {
let bytes = hex::decode(block_str).expect("valid hex");
match probing::probe_block_cbor_era(&bytes) {