From f5b1ae88282adfc2fe2253e4cd51c6ba5eca0c54 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 29 Jan 2017 00:17:54 +0100 Subject: Do not forbid bool keys anymore Floats are supported so... --- src/ser/key.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/ser/key.rs') diff --git a/src/ser/key.rs b/src/ser/key.rs index 149c8f6..6cbbff4 100644 --- a/src/ser/key.rs +++ b/src/ser/key.rs @@ -46,10 +46,6 @@ impl Sink for KeySink { type Ok = Ok; - fn serialize_bool(self, _value: bool) -> Result { - Err(self.unsupported()) - } - fn serialize_static_str(self, value: &'static str) -> Result { -- cgit v1.2.3