Skip to content

Commit

Permalink
Fix dead code warning by correcting a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb committed Jul 12, 2024
1 parent 1c4b022 commit 4ad4a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_with/tests/serde_as/map_tuple_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ad4a1b

Please sign in to comment.