]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #84878 - jimblandy:contains-doc-fix, r=joshtriplett
authorRalf Jung <post@ralfj.de>
Wed, 5 May 2021 15:52:26 +0000 (17:52 +0200)
committerGitHub <noreply@github.com>
Wed, 5 May 2021 15:52:26 +0000 (17:52 +0200)
Clarify documentation for `[T]::contains`

Change the documentation to correctly characterize when the suggested alternative to `contains` applies, and correctly explain why it works.

Fixes #84877


Trivial merge