From 0a7d71af7a332bda3a24e2509116986be7b55755 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Tue, 5 Mar 2024 19:00:27 -0700 Subject: [PATCH] Fix unused qualification (#581) --- src/uint/encoding/rlp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uint/encoding/rlp.rs b/src/uint/encoding/rlp.rs index 112efb1e..2ec5d943 100644 --- a/src/uint/encoding/rlp.rs +++ b/src/uint/encoding/rlp.rs @@ -27,7 +27,7 @@ where fn decode(rlp: &Rlp<'_>) -> Result { rlp.decoder().decode_value(|bytes| { if bytes.first().cloned() == Some(0) { - Err(rlp::DecoderError::RlpInvalidIndirection) + Err(DecoderError::RlpInvalidIndirection) } else { let mut repr = ::Repr::default(); let offset = repr