Remove the unused Serializer::Value associated type

This commit is contained in:
Erick Tryzelaar
2015-03-11 10:15:27 -07:00
parent 5d22be26d8
commit fbd6d1974a
8 changed files with 69 additions and 83 deletions
-2
View File
@@ -79,7 +79,6 @@ impl<'a> AssertSerializer<'a> {
}
impl<'a> Serializer for AssertSerializer<'a> {
type Value = ();
type Error = ();
fn visit<T: Serialize>(&mut self, value: &T) -> Result<(), ()> {
@@ -88,7 +87,6 @@ impl<'a> Serializer for AssertSerializer<'a> {
}
impl<'a> Visitor for AssertSerializer<'a> {
type Value = ();
type Error = ();
fn visit_unit(&mut self) -> Result<(), ()> {