about summary refs log tree commit diff
diff options
context:
space:
mode:
authorthe8472 <the8472@users.noreply.github.com>2021-11-23 23:55:05 +0100
committerGitHub <noreply@github.com>2021-11-23 23:55:05 +0100
commit53fc69f87c623cf3085127530b3f6a810bfd5a4a (patch)
treeae895c03576330ce3c1fb27373059de3dfd63d6d
parentfd1494e9c3928ea13820f5e91748822a19a5abea (diff)
downloadrust-53fc69f87c623cf3085127530b3f6a810bfd5a4a.tar.gz
rust-53fc69f87c623cf3085127530b3f6a810bfd5a4a.zip
Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
-rw-r--r--library/core/src/hash/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/hash/mod.rs b/library/core/src/hash/mod.rs
index 44d517d6c93..3ff84cc9672 100644
--- a/library/core/src/hash/mod.rs
+++ b/library/core/src/hash/mod.rs
@@ -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.
 ///