Remove seq_fixed_size in favor of tuple

This commit is contained in:
David Tolnay
2017-04-17 12:07:49 -07:00
parent 739ad64c7c
commit 86deb8db79
15 changed files with 238 additions and 298 deletions
-5
View File
@@ -212,11 +212,6 @@ impl<'s, 'a> ser::Serializer for &'s mut Serializer<'a> {
Ok(self)
}
fn serialize_seq_fixed_size(self, len: usize) -> Result<Self, Error> {
assert_next_token!(self, SeqFixedSize(len));
Ok(self)
}
fn serialize_tuple(self, len: usize) -> Result<Self, Error> {
assert_next_token!(self, Tuple(len));
Ok(self)