Update README.md
This commit is contained in:
parent
ddda360fec
commit
aa16ecf4d3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user