Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mina86 committed Aug 14, 2023
1 parent bf29f40 commit fa6e983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sealable-trie/src/nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ impl<'a> Reference<'a> {
Self::Node(NodeRef { ptr, hash })
} else {
// * The most significant bit is set only if value_high_bit is true.
// * The second most significant bit (0x4000_0000) is always set.
// * The third most significant bit (so 0x2000_0000) specifies
// * The second most significant bit (so 0b4000_0000) is always set.
// * The third most significant bit (so 0b2000_0000) specifies
// whether value is sealed.
debug_assert_eq!(
0x4000_0000 | (u32::from(value_high_bit) << 31),
Expand Down

0 comments on commit fa6e983

Please sign in to comment.