chore: fix new lint warnings (#400)

This commit is contained in:
Santiago Carmuega 2024-02-11 17:56:22 -03:00 committed by GitHub
parent ae796b4a01
commit 90432bf556
10 changed files with 163 additions and 182 deletions

View file

@ -42,7 +42,7 @@ impl Decode<'_> for isize {
#[cfg(feature = "num-bigint")]
impl Decode<'_> for BigInt {
fn decode(d: &mut Decoder) -> Result<Self, Error> {
Ok(d.big_integer()?.into())
d.big_integer()
}
}