Skip to content

Commit

Permalink
clippy and msrv fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Apr 16, 2024
1 parent 944bcf1 commit b55c7db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.61.0
toolchain: 1.65.0
override: true
profile: minimal
- uses: actions-rs/cargo@v1
Expand Down
2 changes: 1 addition & 1 deletion src/ecss/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ pub(crate) fn verify_crc16_ccitt_false_from_raw_to_pus_error(
crc16: u16,
) -> Result<(), PusError> {
verify_crc16_ccitt_false_from_raw(raw_data)
.then(|| ())
.then_some(())
.ok_or(PusError::ChecksumFailure(crc16))
}

Expand Down

0 comments on commit b55c7db

Please sign in to comment.