diff --git a/tests/serde.rs b/tests/serde.rs index 63a6752..f479548 100644 --- a/tests/serde.rs +++ b/tests/serde.rs @@ -35,7 +35,7 @@ fn map_serde_tokens() { #[test] fn map_serde_tokens_empty_generic() { - let map = LinkedHashMap::::new(); + let map = LinkedHashMap::::with_hasher(FxBuildHasher::default()); assert_tokens(&map, &[Token::Map { len: Some(0) }, Token::MapEnd]); }