Skip to content

Commit

Permalink
fix clippy suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannes Brands committed Nov 4, 2023
1 parent 273dfd6 commit 37dde31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/can_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ mod tests {
Address(0x0F),
Priority::Six,
);
assert!(matches!(encode_result, Err(_)));
assert!(matches!(encode_result.is_err(), true));

let error_contents: EncodingError = encode_result.unwrap_err();
assert_eq!(error_contents.priority, Priority::Six);
Expand Down

0 comments on commit 37dde31

Please sign in to comment.