• A
    std: Tidy up some `unsafe impl`s for `sync` · 64fe93e4
    Alex Crichton 提交于
    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.
    64fe93e4
once.rs 5.9 KB