Reword comment.

This commit is contained in:
Hans Kratz 2021-11-08 12:11:13 +01:00 committed by GitHub
parent b5590cad79
commit d4c524e461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -618,10 +618,9 @@ impl Ord for SourceKind {
// Otherwise please just leave a comment in your PR as to why the hash value is
// changing and why the old value can't be easily preserved.
//
// The hash value differs depending on endianess and bit-width since Rust 1.45
// (see https://github.com/rust-lang/rust/issues/74215). We run this test only
// on 64-bit little-endian platforms which are most commonly used for
// development and tested in CI.
// The hash value depends on endianness and bit-width, so we only run this test on
// little-endian 64-bit CPUs (such as x86-64 and ARM64) where it matches the
// well-known value.
#[test]
#[cfg(all(target_endian = "little", target_pointer_width = "64"))]
fn test_cratesio_hash() {