Skip to content

Commit

Permalink
Revert variables renaming in de.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
slvrtrn committed Oct 31, 2024
1 parent 352c6d5 commit 5b3ad2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rowbinary/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,20 +299,20 @@ impl<'cursor, 'data> Deserializer<'data> for &mut RowBinaryDeserializer<'cursor,
#[inline]
fn deserialize_unit_struct<V: Visitor<'data>>(
self,
_name: &'static str,
name: &'static str,
_visitor: V,
) -> Result<V::Value> {
panic!("unit types are unsupported: `{_name}`");
panic!("unit types are unsupported: `{name}`");
}

#[inline]
fn deserialize_tuple_struct<V: Visitor<'data>>(
self,
_name: &'static str,
name: &'static str,
_len: usize,
_visitor: V,
) -> Result<V::Value> {
panic!("tuple struct types are unsupported: `{_name}`");
panic!("tuple struct types are unsupported: `{name}`");
}

#[inline]
Expand Down

0 comments on commit 5b3ad2c

Please sign in to comment.