Skip to content

Commit

Permalink
Fix Clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Nov 5, 2024
1 parent 15eacfd commit aa4e4aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tree_store/page_store/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,7 @@ mod test {
// IETF Memo "Care and Feeding of Magic Numbers"

// Test that magic number is not valid utf-8
#[allow(invalid_from_utf8)]
assert!(std::str::from_utf8(&MAGICNUMBER).is_err());
// Test there is a octet with high-bit set
assert!(MAGICNUMBER.iter().any(|x| *x & 0x80 != 0));
Expand Down

0 comments on commit aa4e4aa

Please sign in to comment.