mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-12 19:01:02 +00:00
Update README.md
This commit is contained in:
@@ -205,7 +205,7 @@ impl<'a> serde::ser::MapVisitor for PointMapVisitor<'a> {
|
|||||||
match self.state {
|
match self.state {
|
||||||
0 => {
|
0 => {
|
||||||
self.state += 1;
|
self.state += 1;
|
||||||
Ok(Some(try!(serializer.visit_map_elt("x", &self.value.x)))
|
Ok(Some(try!(serializer.visit_map_elt("x", &self.value.x))))
|
||||||
}
|
}
|
||||||
1 => {
|
1 => {
|
||||||
self.state += 1;
|
self.state += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user