From db3e9efc4bc2dd21531f69c54d650003f9e1bc46 Mon Sep 17 00:00:00 2001 From: JT Date: Fri, 1 Oct 2021 18:20:25 +1300 Subject: [PATCH] fix warnings --- crates/nu-protocol/src/value/stream.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/nu-protocol/src/value/stream.rs b/crates/nu-protocol/src/value/stream.rs index 13222a653d..f42349bf94 100644 --- a/crates/nu-protocol/src/value/stream.rs +++ b/crates/nu-protocol/src/value/stream.rs @@ -38,19 +38,21 @@ impl Iterator for ValueStream { } impl Serialize for ValueStream { - fn serialize(&self, serializer: S) -> Result + fn serialize(&self, _serializer: S) -> Result where S: serde::Serializer, { + // FIXME: implement these todo!() } } impl<'de> Deserialize<'de> for ValueStream { - fn deserialize(deserializer: D) -> Result + fn deserialize(_deserializer: D) -> Result where D: serde::Deserializer<'de>, { + // FIXME: implement these todo!() } }