diff --git a/serde/src/ser/impls.rs b/serde/src/ser/impls.rs index 159ff1bc..7e9d8ce2 100644 --- a/serde/src/ser/impls.rs +++ b/serde/src/ser/impls.rs @@ -260,6 +260,7 @@ impl Serialize for EnumSet for e in self.iter() { try!(seq_serializer.serialize_elt(e)); } + seq_serializer.drop() } }