]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #86140 - scottmcm:array-hash-facepalm, r=kennytm
authorYuki Okushi <jtitor@2k36.org>
Wed, 16 Jun 2021 20:54:54 +0000 (05:54 +0900)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 20:54:54 +0000 (05:54 +0900)
commitb1fb32d165ac892145988cf75ef121edc68f220d
tree5434808b9bcb70d91bd932bd6792f5405eb863fe
parent4ff55ecf0477034a05bcf4a135e0a25e428cfccb
parent3802d573c36902dbab68199beee3041514efd8bd
Rollup merge of #86140 - scottmcm:array-hash-facepalm, r=kennytm

Mention the `Borrow` guarantee on the `Hash` implementations for Arrays and `Vec`

To remind people like me who forget about it and send PRs to make them different, and to (probably) get a test failure if the code is changed to no longer uphold it.
library/alloc/src/vec/mod.rs
library/core/src/array/mod.rs