about summary refs log tree commit diff
path: root/library/std/src/sync/mutex/tests.rs
AgeCommit message (Collapse)AuthorLines
2025-01-02Move some things to `std::sync::poison` and reexport them in `std::sync`Pavel Grigorenko-442/+0
2024-11-30Add value accessor methods to `Mutex` and `RwLock`EFanZh-23/+138
2023-12-05Specify behavior if the closure passed to *Guard::*map panics.Zachary S-1/+62
2023-12-05Add MappedMutexGuard and MappedRwLock*Guard tests.Zachary S-1/+29
2023-01-09std test: better type name, clarifying commentRalf Jung-1/+1
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-2/+2
This updates the standard library's documentation to use the new syntax. The documentation is worthwhile to update as it should be more idiomatic (particularly for features like this, which are nice for users to get acquainted with). The general codebase is likely more hassle than benefit to update: it'll hurt git blame, and generally updates can be done by folks updating the code if (and when) that makes things more readable with the new format. A few places in the compiler and library code are updated (mostly just due to already having been done when this commit was first authored).
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-0/+238
Also doing fmt inplace as requested.