]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #87723 - frogtd:patch-3, r=JohnTitor
authorYuki Okushi <jtitor@2k36.org>
Tue, 3 Aug 2021 23:05:55 +0000 (08:05 +0900)
committerGitHub <noreply@github.com>
Tue, 3 Aug 2021 23:05:55 +0000 (08:05 +0900)
commitaf8c99a2353e5e2d09d30360063d0575d385cec6
treee24d3545f8e697a1ee5a827d68bc781fb2432b70
parent917c047c33a0b44b5406c8aab9e47d693106cbba
parent499758a285e57a9a2dd3d02a887d03772ebfc85e
Rollup merge of #87723 - frogtd:patch-3, r=JohnTitor

Use .contains instead of manual reimplementation.

It's also significantly easier to read.