Skip to content

Commit

Permalink
add tags to sval_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Aug 28, 2023
1 parent 39da828 commit 4bc4de6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ref/src/seq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ macro_rules! tuple {
stream.tuple_begin(None, None, None, Some($len))?;

$(
stream.tuple_value_begin(None, &Index::new($i))?;
stream.tuple_value_begin(None, &Index::new($i).with_tag(&sval::tags::VALUE_OFFSET))?;
crate::stream_ref(stream, &self.$i)?;
stream.tuple_value_end(None, &Index::new($i))?;
stream.tuple_value_end(None, &Index::new($i).with_tag(&sval::tags::VALUE_OFFSET))?;
)+

stream.tuple_end(None, None, None)
Expand Down

0 comments on commit 4bc4de6

Please sign in to comment.