Closed FlashyReese closed 2 years ago
The Deserializer
impl is for serde_yaml::Deserializer
, not &mut serde_yaml::Deserializer
.
- serde_transcode::transcode(&mut deserializer, &mut serializer).map_err(|err| err.to_string())?;
+ serde_transcode::transcode(deserializer, &mut serializer).map_err(|err| err.to_string())?;
The deserializer does not implement the Serde deserializer. Meanwhile, the serializer does implement the Serde serializer.
Code snippet:
Build Output: