From d4dde757e29a86afdd07e149da59f6f0da67d93a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Mon, 1 Jul 2024 13:48:12 +0200 Subject: [PATCH] Generalize serialize implementation for LinearMap --- src/ser.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ser.rs b/src/ser.rs index cdd4b6bf4b..52064a1c78 100644 --- a/src/ser.rs +++ b/src/ser.rs @@ -1,8 +1,8 @@ use core::hash::{BuildHasher, Hash}; use crate::{ - binary_heap::Kind as BinaryHeapKind, storage::Storage, string::StringInner, vec::VecInner, - BinaryHeap, Deque, HistoryBuffer, IndexMap, IndexSet, LinearMap, + binary_heap::Kind as BinaryHeapKind, linear_map::LinearMapInner, storage::Storage, + string::StringInner, vec::VecInner, BinaryHeap, Deque, HistoryBuffer, IndexMap, IndexSet, }; use serde::ser::{Serialize, SerializeMap, SerializeSeq, Serializer}; @@ -110,7 +110,7 @@ where } } -impl Serialize for LinearMap +impl Serialize for LinearMapInner where K: Eq + Serialize, V: Serialize,