Skip to content

Commit

Permalink
fix parsing empty arguments to option none (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonnn authored Nov 22, 2023
1 parent c4881f4 commit f97f3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_at/src/de/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ impl<'a, 'de> de::Deserializer<'de> for &'a mut Deserializer<'de> {
V: Visitor<'de>,
{
match self.parse_whitespace() {
Some(b'+') | None => visitor.visit_none(),
Some(b'+' | b',') | None => visitor.visit_none(),
Some(_) => visitor.visit_some(self),
}
}
Expand Down

0 comments on commit f97f3f2

Please sign in to comment.