mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 14:02:06 +03:00
7b7cf84975
This commit removes many unnecessary `unsafe impl` blocks as well as pushing the needed implementations to the lowest level possible. I noticed that the bounds for `RwLock` are a little off when reviewing #22574 and wanted to ensure that we had our story straight on these implementations.