From 82f2796ac9233febfb89211ce2f4659718cf32a3 Mon Sep 17 00:00:00 2001 From: Mingun Date: Sun, 28 Jul 2024 23:09:58 +0500 Subject: [PATCH] Correctly forward visit_i128 / visit_u128 to the original visitor in Compact / Readable wrappers --- src/configure.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/configure.rs b/src/configure.rs index 505ffb1..f463d01 100644 --- a/src/configure.rs +++ b/src/configure.rs @@ -614,6 +614,12 @@ macro_rules! impl_deserializer { { self.0.visit_i64(v) } + fn visit_i128(self, v: i128) -> Result + where + E: Error, + { + self.0.visit_i128(v) + } fn visit_u8(self, v: u8) -> Result where E: Error, @@ -638,6 +644,12 @@ macro_rules! impl_deserializer { { self.0.visit_u64(v) } + fn visit_u128(self, v: u128) -> Result + where + E: Error, + { + self.0.visit_u128(v) + } fn visit_f32(self, v: f32) -> Result where E: Error,