From 837b550238aa671a591ccf282dddeab29cadb206 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:42 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/crypto-bigint/src/uint/encoding/rlp.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'vendor/crypto-bigint/src/uint/encoding/rlp.rs') diff --git a/vendor/crypto-bigint/src/uint/encoding/rlp.rs b/vendor/crypto-bigint/src/uint/encoding/rlp.rs index 8a10170d5..0f85bc350 100644 --- a/vendor/crypto-bigint/src/uint/encoding/rlp.rs +++ b/vendor/crypto-bigint/src/uint/encoding/rlp.rs @@ -1,10 +1,9 @@ //! Recursive Length Prefix (RLP) encoding support. -use crate::{Encoding, UInt}; +use crate::{Encoding, Uint}; use rlp::{DecoderError, Rlp, RlpStream}; -#[cfg_attr(docsrs, doc(cfg(feature = "rlp")))] -impl rlp::Encodable for UInt +impl rlp::Encodable for Uint where Self: Encoding, { @@ -20,8 +19,7 @@ where } } -#[cfg_attr(docsrs, doc(cfg(feature = "rlp")))] -impl rlp::Decodable for UInt +impl rlp::Decodable for Uint where Self: Encoding, ::Repr: Default, -- cgit v1.2.3