Skip to content

Commit

Permalink
ser: Fix erroneous reference to SerKey variant
Browse files Browse the repository at this point in the history
  • Loading branch information
ijackson committed Oct 23, 2023
1 parent 6bc82ee commit 85e1319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ enum SerKey {
/// that don't do the necessary work of `SeqSerializer::new`.
///
/// Existence of this wrapper implies that `.0.keys.last()` is
/// `Some(SerKey::Key(next_index))`.
/// `Some(SerKey::Seq(next_index))`.
pub struct SeqSerializer<'a>(&'a mut ConfigSerializer);

impl ConfigSerializer {
Expand Down

0 comments on commit 85e1319

Please sign in to comment.