diff options
Diffstat (limited to 'vendor/litemap/src/serde.rs')
-rw-r--r-- | vendor/litemap/src/serde.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/litemap/src/serde.rs b/vendor/litemap/src/serde.rs index 7550fb7a9..019f0fdbb 100644 --- a/vendor/litemap/src/serde.rs +++ b/vendor/litemap/src/serde.rs @@ -64,7 +64,7 @@ impl<'de, K, V, R> Visitor<'de> for LiteMapVisitor<K, V, R> where K: Deserialize<'de> + Ord, V: Deserialize<'de>, - R: StoreMut<K, V>, + R: StoreMut<K, V> + StoreFromIterable<K, V>, { type Value = LiteMap<K, V, R>; @@ -127,7 +127,7 @@ impl<'de, K, V, R> Deserialize<'de> for LiteMap<K, V, R> where K: Ord + Deserialize<'de>, V: Deserialize<'de>, - R: StoreMut<K, V>, + R: StoreMut<K, V> + StoreFromIterable<K, V>, { fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where |