mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-29 23:09:49 +00:00
Remove the unused Serializer::Value associated type
This commit is contained in:
1 parent
5d22be26d8
commit
fbd6d1974a
8 files changed
+69
-83
No files matched your search
@@ -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