From 4ad4a1b4e9088219b7877d64aa225e6d352298e2 Mon Sep 17 00:00:00 2001 From: Jonas Bushart Date: Sat, 13 Jul 2024 00:39:04 +0200 Subject: [PATCH] Fix dead code warning by correcting a typo --- serde_with/tests/serde_as/map_tuple_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde_with/tests/serde_as/map_tuple_list.rs b/serde_with/tests/serde_as/map_tuple_list.rs index c5f5e564..90cbfbb0 100644 --- a/serde_with/tests/serde_as/map_tuple_list.rs +++ b/serde_with/tests/serde_as/map_tuple_list.rs @@ -224,7 +224,7 @@ fn test_tuple_array_as_map() { #[derive(Debug, PartialEq, Serialize, Deserialize)] struct S0(#[serde_as(as = "Map<_, _>")] [(u8, u8); 1]); is_equal( - S1([(1, 2)]), + S0([(1, 2)]), expect![[r#" { "1": 2