From 5b3ad2c619cda3b6a99c04f584ac45cff2911f79 Mon Sep 17 00:00:00 2001 From: slvrtrn Date: Thu, 31 Oct 2024 20:23:31 +0100 Subject: [PATCH] Revert variables renaming in de.rs --- src/rowbinary/de.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rowbinary/de.rs b/src/rowbinary/de.rs index 0a480d1..aaec279 100644 --- a/src/rowbinary/de.rs +++ b/src/rowbinary/de.rs @@ -299,20 +299,20 @@ impl<'cursor, 'data> Deserializer<'data> for &mut RowBinaryDeserializer<'cursor, #[inline] fn deserialize_unit_struct>( self, - _name: &'static str, + name: &'static str, _visitor: V, ) -> Result { - panic!("unit types are unsupported: `{_name}`"); + panic!("unit types are unsupported: `{name}`"); } #[inline] fn deserialize_tuple_struct>( self, - _name: &'static str, + name: &'static str, _len: usize, _visitor: V, ) -> Result { - panic!("tuple struct types are unsupported: `{_name}`"); + panic!("tuple struct types are unsupported: `{name}`"); } #[inline]