mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 19:18:00 +00:00
Enum deserialization API
This commit is contained in:
@@ -426,7 +426,7 @@ impl Deserializer for BytesDeserializer {
|
||||
self.deserialize(visitor)
|
||||
}
|
||||
fn deserialize_enum<__V>(&mut self, _: &str, _: &[&str], _visitor: __V)
|
||||
-> Result<__V::Value, Self::Error> where __V: de::EnumVisitor {
|
||||
-> Result<__V::Value, Self::Error> where __V: de::Visitor {
|
||||
Err(Error)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user