Skip to content

Commit

Permalink
Merge pull request #31 from clayrosenthal/fix-linting-errors
Browse files Browse the repository at this point in the history
Fixing linting issues
  • Loading branch information
caveman99 authored Jan 17, 2025
2 parents 8b946cc + dc137ab commit a2dd033
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn main() -> std::io::Result<()> {
.filter(|e| {
e.path()
.extension()
.map_or(false, |ext| ext.to_str().unwrap() == "proto")
.is_some_and(|ext| ext.to_str().unwrap() == "proto")
})
{
let path = entry.path();
Expand Down
2 changes: 1 addition & 1 deletion src/utils_internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,6 @@ mod tests {
let data = vec![0x00; 0x10000];
let serial_data = format_data_packet(data.into());

assert_eq!(serial_data.is_err(), true);
assert!(serial_data.is_err());
}
}

0 comments on commit a2dd033

Please sign in to comment.