Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
h3lio5 committed Feb 9, 2024
1 parent b7d00ec commit af16ec5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/eth2/eth_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,12 @@ where
};
let fixed_vector = match FixedVector::<u8, typenum::U48>::new(bytes) {
Ok(fv) => fv,
Err(e) => return Err(de::Error::custom(format!("Failed to create FixedVector: {:?}", e))),
Err(e) => {
return Err(de::Error::custom(format!(
"Failed to create FixedVector: {:?}",
e
)))
}
};
res.push(fixed_vector);
}
Expand Down

0 comments on commit af16ec5

Please sign in to comment.