Skip to content

Commit 53fc69f

Browse files
the8472pierwill
andauthored
Apply suggestions from code review
Co-authored-by: pierwill <[email protected]>
1 parent fd1494e commit 53fc69f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/hash/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,14 @@ mod sip;
166166
///
167167
/// ## Portability
168168
///
169-
/// Due to differences in endianness and type sizes data fed by `Hash` to a `Hasher`
169+
/// Due to differences in endianness and type sizes, data fed by `Hash` to a `Hasher`
170170
/// should not be considered portable across platforms. Additionally the data passed by most
171171
/// standard library types should not be considered stable between compiler versions.
172172
///
173173
/// This means tests shouldn't probe hard-coded hash values or data fed to a `Hasher` and
174174
/// instead should check consistency with `Eq`.
175175
///
176-
/// Serialization formats intended to he portable between platforms or compiler versions should
176+
/// Serialization formats intended to be portable between platforms or compiler versions should
177177
/// either avoid encoding hashes or only rely on `Hash` and `Hasher` implementations that
178178
/// provide additional guarantees.
179179
///

0 commit comments

Comments
 (0)