granite-rust/library/core
Matthias Krüger 43279b2749
Rollup merge of #90995 - the8472:hash-portability, r=dtolnay
Document non-guarantees for Hash

Dependence on endianness and type sizes was reported for enum discriminants in #74215 but it is a more general
issue since for example the default implementation of `Hasher::write_usize` uses native endianness.
Additionally the implementations of library types are occasionally changed as their internal fields
change or hashing gets optimized.

## Question

Should this go on the module level documentation instead since it also concerns `Hasher` to some extent and not just `Hash`?

resolves #74215
2021-11-27 11:46:42 +01:00
..
benches Auto merge of #88788 - falk-hueffner:speedup-int-log10-branchless, r=joshtriplett 2021-10-12 03:18:54 +00:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Rollup merge of #90995 - the8472:hash-portability, r=dtolnay 2021-11-27 11:46:42 +01:00
tests Partially stabilize duration_consts_2 2021-11-22 13:09:08 -05:00
Cargo.toml rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00