Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Correctly forward visit_i128 / visit_u128 to the original visitor in …
Browse files Browse the repository at this point in the history
…Compact / Readable wrappers
  • Loading branch information
Mingun committed Jul 28, 2024
1 parent c758d36 commit 82f2796
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/configure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,12 @@ macro_rules! impl_deserializer {
{
self.0.visit_i64(v)
}
fn visit_i128<E>(self, v: i128) -> Result<D::Value, E>
where
E: Error,
{
self.0.visit_i128(v)
}
fn visit_u8<E>(self, v: u8) -> Result<D::Value, E>
where
E: Error,
Expand All @@ -638,6 +644,12 @@ macro_rules! impl_deserializer {
{
self.0.visit_u64(v)
}
fn visit_u128<E>(self, v: u128) -> Result<D::Value, E>
where
E: Error,
{
self.0.visit_u128(v)
}
fn visit_f32<E>(self, v: f32) -> Result<D::Value, E>
where
E: Error,
Expand Down

0 comments on commit 82f2796

Please sign in to comment.