fix warnings

This commit is contained in:
JT 2021-10-01 18:20:25 +13:00
parent 3e232a5db8
commit db3e9efc4b

View file

@ -38,19 +38,21 @@ impl Iterator for ValueStream {
} }
impl Serialize for ValueStream { impl Serialize for ValueStream {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> fn serialize<S>(&self, _serializer: S) -> Result<S::Ok, S::Error>
where where
S: serde::Serializer, S: serde::Serializer,
{ {
// FIXME: implement these
todo!() todo!()
} }
} }
impl<'de> Deserialize<'de> for ValueStream { impl<'de> Deserialize<'de> for ValueStream {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>
where where
D: serde::Deserializer<'de>, D: serde::Deserializer<'de>,
{ {
// FIXME: implement these
todo!() todo!()
} }
} }