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]