Skip to content

Commit

Permalink
Fix Clippy failure
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Sep 24, 2023
1 parent 40b3a1f commit 8e2393d
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 @@ -611,6 +611,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 8e2393d

Please sign in to comment.