Skip to content

Commit

Permalink
Fix unused qualification (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Mar 6, 2024
1 parent 39a8ead commit 0a7d71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uint/encoding/rlp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ where
fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError> {
rlp.decoder().decode_value(|bytes| {
if bytes.first().cloned() == Some(0) {
Err(rlp::DecoderError::RlpInvalidIndirection)
Err(DecoderError::RlpInvalidIndirection)
} else {
let mut repr = <Self as Encoding>::Repr::default();
let offset = repr
Expand Down

0 comments on commit 0a7d71a

Please sign in to comment.