Merge pull request #155 from erickt/skip

Add skip serializing fields if empty or none
This commit is contained in:
Erick Tryzelaar
2015-10-05 14:51:46 -07:00
7 changed files with 433 additions and 203 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ pub trait SeqVisitor {
}
}
/// A trait that is used by a `Serializer` to iterate through a map.
/// A trait that is used by a `Serialize` to iterate through a map.
pub trait MapVisitor {
/// Serializes a map item in the serializer.
///