]> git.lizzy.rs Git - rust.git/commitdiff
Merge #8298
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 2 Apr 2021 18:47:25 +0000 (18:47 +0000)
committerGitHub <noreply@github.com>
Fri, 2 Apr 2021 18:47:25 +0000 (18:47 +0000)
8298: Stop using an upgradeable read lock in interning r=jonas-schievink a=jonas-schievink

Only one upgradeable read lock can be handed out at the same time, and
we never acquire a non-upgradeable read lock, so this has no benefit
over just using a write lock in the first place.

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>

Trivial merge