Fix boundary reading
This commit is contained in:
parent
d0619cb164
commit
d4d1919957
|
@ -638,18 +638,18 @@ impl<'de, 'src, N: NestedValue, Dec: DomainParse<N::Embedded>, S: BinarySource<'
|
||||||
return Err(syntax_error("Missing expected key/value separator"));
|
return Err(syntax_error("Missing expected key/value separator"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
B::Type { closing: Some(B::Item::DictionaryValue), opening: None } |
|
||||||
|
B::Type { closing: None, opening: Some(B::Item::DictionaryKey) } |
|
||||||
|
B::Type { closing: Some(B::Item::SetValue), opening: _ } |
|
||||||
|
B::Type { closing: _, opening: Some(B::Item::SetValue) } |
|
||||||
|
B::Type { closing: Some(B::Item::SequenceValue), opening: _ } |
|
||||||
|
B::Type { closing: _, opening: Some(B::Item::SequenceValue) } |
|
||||||
B::Type {
|
B::Type {
|
||||||
closing: Some(B::Item::DictionaryValue),
|
closing: Some(B::Item::DictionaryValue),
|
||||||
opening: Some(B::Item::DictionaryKey),
|
opening: Some(B::Item::DictionaryKey),
|
||||||
} => self.skip_whitespace_and_maybe_commas(true),
|
} => {
|
||||||
B::Type {
|
self.skip_whitespace_and_maybe_commas(true);
|
||||||
closing: Some(B::Item::SetValue),
|
}
|
||||||
opening: Some(B::Item::SetValue),
|
|
||||||
} => self.skip_whitespace_and_maybe_commas(true),
|
|
||||||
B::Type {
|
|
||||||
closing: Some(B::Item::SequenceValue),
|
|
||||||
opening: Some(B::Item::SequenceValue),
|
|
||||||
} => self.skip_whitespace_and_maybe_commas(true),
|
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in New Issue