Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement ContentHash for u32 and u64
This is for completeness and to avoid accidents such as someone calling `ContentHash::hash(1234u32.to_le_bytes())` and expecting it to hash properly as a u32 instead of a 4 byte slice, which produces a different hash due to hashing the length of the slice before its contents.
- Loading branch information