Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: pierwill <[email protected]>
  • Loading branch information
the8472 and pierwill authored Nov 23, 2021
1 parent fd1494e commit 53fc69f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/hash/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,14 @@ mod sip;
///
/// ## Portability
///
/// Due to differences in endianness and type sizes data fed by `Hash` to a `Hasher`
/// Due to differences in endianness and type sizes, data fed by `Hash` to a `Hasher`
/// should not be considered portable across platforms. Additionally the data passed by most
/// standard library types should not be considered stable between compiler versions.
///
/// This means tests shouldn't probe hard-coded hash values or data fed to a `Hasher` and
/// instead should check consistency with `Eq`.
///
/// Serialization formats intended to he portable between platforms or compiler versions should
/// Serialization formats intended to be portable between platforms or compiler versions should
/// either avoid encoding hashes or only rely on `Hash` and `Hasher` implementations that
/// provide additional guarantees.
///
Expand Down

0 comments on commit 53fc69f

Please sign in to comment.