Skip to content

Commit

Permalink
Impl serde for SizedHashMap
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
  • Loading branch information
Licenser committed Jun 26, 2023
1 parent eb9866e commit 0b62ab8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/serde.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
mod se {
use crate::HashMap;
use crate::SizedHashMap;
use core::hash::Hash;
use serde::ser::{Serialize, SerializeMap, Serializer};

impl<K, V> Serialize for HashMap<K, V>
impl<K, V, H, const N: usize> Serialize for SizedHashMap<K, V, H, N>
where
K: Eq + Hash + Serialize,
V: Serialize,
Expand Down
2 changes: 1 addition & 1 deletion src/vecmap.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
///! A vector based map data structure, mostly for internal use
//! A vector based map data structure, mostly for internal use
mod entry;
mod iter;
mod raw_entry;
Expand Down

0 comments on commit 0b62ab8

Please sign in to comment.