Update README.md

This commit is contained in:
derhaskell 2015-04-13 13:28:47 +02:00
parent ddda360fec
commit aa16ecf4d3

View File

@ -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;