Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Aug 27, 2023
1 parent 7f33631 commit 8cab4c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rust/candid/tests/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,10 @@ fn test_multiargs() {
)
.unwrap();
assert_eq!(tuple.2, None);
assert_eq!(tuple.3, ());
#[allow(clippy::unit_cmp)]
{
assert_eq!(tuple.3, ());
}
assert_eq!(tuple.4, candid::Reserved);
}

Expand Down

0 comments on commit 8cab4c0

Please sign in to comment.