mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-12 02:41:04 +00:00
Remove the unused Serializer::Value associated type
This commit is contained in:
@@ -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<(), ()> {
|
||||
|
||||
Reference in New Issue
Block a user